[DISCUSS] disk_access_mode setting on cassandra.yaml

2023-09-30 Thread Paulo Motta
Hi, On the dev@ mailing list I proposed updating the default value of the advanced property "disk_access_mode" to a more stable default for typical workloads. See the discussion on [1] for details. I wanted to check if anyone had experiences (good or bad) with overriding this setting in the

Re: cassandra.yaml

2022-11-02 Thread Erick Ramirez
They are really in mebibytes (MiB). In the upcoming release of Cassandra, the configuration is getting standardised to KiB, MiB, etc, to remove ambiguity (CASSANDRA-15234 [1]). For more info, see Ekaterina Dimitrova's blog post [2]. Cheers! [1]

cassandra.yaml

2022-11-02 Thread Marc Hoppins
Hi, all, The config has data limits described as KB, MB, etc. Are these KB MB or KiB MiB? (curses to the lazy modern age for forcing a change) Nodetool status reports TiB. I assume these are all really base2 numbers but am just seeking to clarify. Eg., # Default value ("auto") is 1/256th

Re: update cassandra.yaml file on number of cluster nodes

2021-10-18 Thread Aaron Ploetz
manage our servers via >>>> Ansible. In this use case, we create an Ansible playbook to update the >>>> servers one by one, change the cassandra.yaml file, restart Cassandra, and >>>> wait for it to finish the restart, and then wait for a few minutes before &

Re: update cassandra.yaml file on number of cluster nodes

2021-10-18 Thread Yakir Gibraltar
and we manage our servers via >>> Ansible. In this use case, we create an Ansible playbook to update the >>> servers one by one, change the cassandra.yaml file, restart Cassandra, and >>> wait for it to finish the restart, and then wait for a few minutes before >>

Re: update cassandra.yaml file on number of cluster nodes

2021-10-18 Thread Elliott Sims
g in git here. > > On Fri, Oct 15, 2021 at 5:19 PM Bowen Song wrote: > >> We have Cassandra on bare-metal servers, and we manage our servers via >> Ansible. In this use case, we create an Ansible playbook to update the >> servers one by one, change the cassandra.yaml file, restart

Re: update cassandra.yaml file on number of cluster nodes

2021-10-18 Thread vytenis silgalis
e, change the cassandra.yaml file, restart Cassandra, and > wait for it to finish the restart, and then wait for a few minutes before > moving on to the next server. > On 15/10/2021 22:42, ZAIDI, ASAD wrote: > > > > Hello Folks, > > > > Can you guys please suggest tool or approach

Re: update cassandra.yaml file on number of cluster nodes

2021-10-15 Thread Bowen Song
We have Cassandra on bare-metal servers, and we manage our servers via Ansible. In this use case, we create an Ansible playbook to update the servers one by one, change the cassandra.yaml file, restart Cassandra, and wait for it to finish the restart, and then wait for a few minutes before

update cassandra.yaml file on number of cluster nodes

2021-10-15 Thread ZAIDI, ASAD
Hello Folks, Can you guys please suggest tool or approach to update cassandra.yaml file in multi-dc environment with large number of nodes efficiently. Thank you. Asad

RE: How to specify a configuration in cass-operator for Cassandra.yaml

2020-07-27 Thread Manu Chadha
Windows 10 From: Erick Ramirez<mailto:erick.rami...@datastax.com> Sent: 27 July 2020 12:51 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: How to specify a configuration in cass-operator for Cassandra.yaml Is it possible you don't have the k8s cluster runni

Re: How to specify a configuration in cass-operator for Cassandra.yaml

2020-07-27 Thread Erick Ramirez
Is it possible you don't have the k8s cluster running? To answer your question, you can edit your k8s cluster configuration with the new settings and the cass-operator will apply the changes then it will perform a rolling restart of the pods for the changes to take effect. Cheers! >

RE: How to specify a configuration in cass-operator for Cassandra.yaml

2020-07-27 Thread Manu Chadha
w to specify a configuration in cass-operator for Cassandra.yaml Yes, you're right -- you need to override the defaults by specifying the configuration in the operator yaml spec: spec: ... config: cassandra-yaml: ... commitlog_sync: batch ... Cheers! On Mon, 27 Ju

Re: How to specify a configuration in cass-operator for Cassandra.yaml

2020-07-26 Thread Erick Ramirez
> I am using cass-operator to run Cassandra in Kubernetes. I am also using > ScalarDB to provide ACID support in Cassandra. > > > > One pre-requisite for ScalarDB is to change the commitlog_sync to batch. > > > > “Change commitlog_sync from periodic to batch in cas

How to specify a configuration in cass-operator for Cassandra.yaml

2020-07-26 Thread Manu Chadha
Hi I am using cass-operator to run Cassandra in Kubernetes. I am also using ScalarDB to provide ACID support in Cassandra. One pre-requisite for ScalarDB is to change the commitlog_sync to batch. “Change commitlog_sync from periodic to batch in cassandra.yaml not to lose data when quorum

Re: cassandra.yaml configuration for large machines (scale up vs. scale out)

2017-11-04 Thread Jeff Jirsa
> *From:* "Steinmaurer, Thomas" <thomas.steinmau...@dynatrace.com> > *To:* "user@cassandra.apache.org" <user@cassandra.apache.org> > *Sent:* Friday, November 3, 2017 6:34 AM > *Subject:* cassandra.yaml configuration for large machines (scale up vs. &

Re: cassandra.yaml configuration for large machines (scale up vs. scale out)

2017-11-04 Thread James Briggs
ilable in San Jose area or remote. cass_top: https://github.com/jamesbriggs/cassandra-top From: "Steinmaurer, Thomas" <thomas.steinmau...@dynatrace.com> To: "user@cassandra.apache.org" <user@cassandra.apache.org> Sent: Friday, November 3, 2017 6:34 AM Su

cassandra.yaml configuration for large machines (scale up vs. scale out)

2017-11-03 Thread Steinmaurer, Thomas
Disks (so somewhere beyond 2000 IOPS). What are some recommended cassandra.yaml configuration / JVM settings, e.g. we have been using with something like that as a first baseline: * 31G heap, G1, -XX:MaxGCPauseMillis=2000 * concurrent_compactors: 8

Re: how the binary ‘cassandra’ will recognize the path to the file cassandra.yaml ?

2015-06-22 Thread Paulo Motta
in a tarball installation, the location of cassandra.yaml is defined by the property $CASSANDRA_CONF defined on bin/cassandra.in.sh this file is located by the bin/cassandra binary, and can be in one of the following directories: bin/cassandra.in.sh ~/.cassandra.in.sh /usr/share/cassandra

how the binary ‘cassandra’ will recognize the path to the file cassandra.yaml ?

2015-06-20 Thread Thouraya TH
’ will recognize the path to the file cassandra.yaml ? Thanks a lot. Best Regards.

any nodetool-like showparameters to show loaded cassandra.yaml parameters ?

2015-04-22 Thread DE VITO Dominique
Hi, I have not seen any available cmd like nodetool showparameters to show loaded cassandra.yaml parameters of one node (to display them remotely, or to check if loaded parameters are the ones of the cassandra.yaml). Does anyone know if there is a cmd to display those parameters (I don't think

Re: any nodetool-like showparameters to show loaded cassandra.yaml parameters ?

2015-04-22 Thread Robert Coli
On Wed, Apr 22, 2015 at 10:09 AM, DE VITO Dominique dominique.dev...@thalesgroup.com wrote: I have not seen any available cmd like “nodetool showparameters” to show loaded cassandra.yaml parameters of one node (to display them remotely, or to check if loaded parameters are the ones

diff cassandra.yaml 1.2 -- 2.1

2014-12-29 Thread Alain RODRIGUEZ
Hi guys, I am looking at added and dropped option in Cassandra between 1.2.18 and 2.0.11 and this makes me wonder: Why has the index_interval option been removed from cassandra.yaml ? I know we can also define it on a per table basis, yet, this global option was quite useful to tune memory usage

Re: diff cassandra.yaml 1.2 -- 2.1

2014-12-29 Thread Jason Wee
from cassandra.yaml ? I know we can also define it on a per table basis, yet, this global option was quite useful to tune memory usage. I also know that this index is now kept off-heap, but I can not see when and why this option has been removed, any pointer ? Also it seems this option still

Re: diff cassandra.yaml 1.2 -- 2.1

2014-12-29 Thread Alain RODRIGUEZ
been removed from cassandra.yaml ? I know we can also define it on a per table basis, yet, this global option was quite useful to tune memory usage. I also know that this index is now kept off-heap, but I can not see when and why this option has been removed, any pointer ? Also it seems

Re: Why a cluster don't start after cassandra.yaml range_timeout parameter change ?

2014-12-29 Thread Alain RODRIGUEZ
successful INFO 19:27:41,739 Loading settings from file:/etc/cassandra/cassandra.yaml INFO 19:27:42,052 Data files directories: [/data/cassandra/data] INFO 19:27:42,052 Commit log directory: /commitlog INFO 19:27:42,052 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap

Re: diff cassandra.yaml 1.2 -- 2.1

2014-12-29 Thread Jason Wee
and 2.0.11 and this makes me wonder: Why has the index_interval option been removed from cassandra.yaml ? I know we can also define it on a per table basis, yet, this global option was quite useful to tune memory usage. I also know that this index is now kept off-heap, but I can not see when

Re: diff cassandra.yaml 1.2 -- 2.1

2014-12-29 Thread Alain RODRIGUEZ
: Hi guys, I am looking at added and dropped option in Cassandra between 1.2.18 and 2.0.11 and this makes me wonder: Why has the index_interval option been removed from cassandra.yaml ? I know we can also define it on a per table basis, yet, this global option was quite useful to tune memory

Why a cluster don't start after cassandra.yaml range_timeout parameter change ?

2014-12-03 Thread Castelain, Alain
:/etc/cassandra:/usr/share/java/commons-daemon.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar INFO 19:27:41,717 JNA mlockall successful INFO 19:27:41,739 Loading settings from file:/etc/cassandra/cassandra.yaml INFO 19:27:42,052 Data files directories: [/data/cassandra/data] INFO 19:27:42,052 Commit

Re: property 'disk_access_mode' not found in cassandra.yaml

2013-01-04 Thread Alain RODRIGUEZ
Is the default 'auto' the best possible option so that no one has to worry about it anymore ? Yes something like that I guess. You can add the disk_access_mode property to your cassandra.yaml and set it to standard to disable memory mapped access, it will work. It's the same thing

RE: property 'disk_access_mode' not found in cassandra.yaml

2013-01-04 Thread DE VITO Dominique
: user@cassandra.apache.org Objet : Re: property 'disk_access_mode' not found in cassandra.yaml Is the default 'auto' the best possible option so that no one has to worry about it anymore ? Yes something like that I guess. You can add the disk_access_mode property to your cassandra.yaml and set

Re: Changing rpc_port in cassandra.yaml has no effect

2012-12-28 Thread Andras Szerdahelyi
Its not clear to me how you are starting the daemon. You mention Eclipse - do you have Cassandra embedded in an Eclipse project? cassandra.yaml might not be read correctly. Make sure its on the class path, i have it in src/main/resources and it gets picked up from there just fine ( although i

Re: Changing rpc_port in cassandra.yaml has no effect

2012-12-28 Thread Bob Futrelle
? cassandra.yaml might not be read correctly. Make sure its on the class path, i have it in src/main/resources and it gets picked up from there just fine ( although i only ever use it in my unit tests ) CassandraDaemon cassandra = new CassandraDaemon(); cassandra.init(null); cassandra.start

Changing rpc_port in cassandra.yaml has no effect

2012-12-25 Thread Bob Futrelle
I have been using cqlsh (and --cql3) successfully for a few weeks. But yesterday it stopped working, with the all too familiar, Connection error: Could not connect to localhost:9160 Still got the same message, 9160, after I changed the rpc_port in the yaml file to 9161 or 9159. I recently

Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0

2012-06-04 Thread Prakrati Agrawal
Dear all I am trying to add a new node to the Cassandra cluster. In all the documentations available on net it says to set the auto bootstrap property in cassandra.yaml to true but I am not finding the property in the file. Please help me Thanks and Regards Prakrati Agrawal | Developer - Big

Re: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0

2012-06-04 Thread Pushpalanka Jayawardhana
a new node to the Cassandra cluster. In all the documentations available on net it says to set the auto bootstrap property in cassandra.yaml to true but I am not finding the property in the file. Please help me ** ** Thanks and Regards ** ** Prakrati Agrawal | Developer - Big Data(ID

Re: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0

2012-06-04 Thread Roshni Rajagopal
@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Sun, 3 Jun 2012 22:58:24 -0700 To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0

RE: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0

2012-06-04 Thread Rishabh Agrawal
[mailto:prakrati.agra...@mu-sigma.com] Sent: Sunday, June 03, 2012 10:58 PM To: user@cassandra.apache.org Subject: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0 Dear all I am trying to add a new node to the Cassandra cluster. In all the documentations available on net

cassandra.yaml - Framed transport

2012-01-25 Thread Jools Enticknap
Hi All, I'm currently running 1.0.7, and just noticed a small error in the comment section. # Frame size for thrift (maximum field length). # 0 disables TFramedTransport in favor of TSocket. This option # is deprecated; we strongly recommend using Framed mode.

Re: cassandra.yaml - Framed transport

2012-01-25 Thread aaron morton
Yup, unframed transport was removed in 0.8.beta 2. I'll fix the comments, thanks. Aaron - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 25/01/2012, at 10:27 PM, Jools Enticknap wrote: Hi All, I'm currently running 1.0.7, and just noticed

Re: Seed nodes in cassandra.yaml can not be hostnames

2011-09-26 Thread Peter Schuller
I just discovered that using host names for seed nodes in cassandra.yaml do not work. This is done on purpose? I believe so yes, to avoid relying on DNS to map correctly given that everything else is based on IP address. (IIRC, someone chime in if there is a different reason.) -- / Peter

Re: Seed nodes in cassandra.yaml can not be hostnames

2011-09-26 Thread Jonathan Ellis
The seed names should match what the seeds advertise as listen_address. I can't think of a reason host names shouldn't work, but as Peter said, using host names is a bad idea anyway. 2011/9/25 Radim Kolar h...@sendmail.cz: I just discovered that using host names for seed nodes in cassandra.yaml

Re: Seed nodes in cassandra.yaml can not be hostnames

2011-09-26 Thread Radim Kolar
Dne 26.9.2011 16:37, Jonathan Ellis napsal(a): The seed names should match what the seeds advertise as listen_address. I can't think of a reason host names shouldn't work, I used DNS alias, that was probably reason why it didn't worked.

Seed nodes in cassandra.yaml can not be hostnames

2011-09-25 Thread Radim Kolar
I just discovered that using host names for seed nodes in cassandra.yaml do not work. This is done on purpose?

Re: Cassandra 0.8.4 - doesn't support defining keyspaces in cassandra.yaml?

2011-09-07 Thread Jonathan Ellis
facing some issues with embedded cassandra that we utilize in our application. With 0.7.2, we define our keyspace in cassandra.yaml and use Hector to give us an embedded cassandra instance loaded with schema from cassandra.yaml. Is it not possible to do the same with Cassandra / Hector 0.8.x? Can

Re: Cassandra 0.8.4 - doesn't support defining keyspaces in cassandra.yaml?

2011-09-07 Thread Roshan Dawrani
small cassandra issue with my embedded server. In my embedded server setup, I use cassandra-javautils's CassandraServiceDataCleaner to clean-up the data directories, which in turn uses DatabaseDescriptor.getAllDataFileLocations() to get various directories configured in cassandra.yaml. Now

Cassandra 0.8.4 - doesn't support defining keyspaces in cassandra.yaml?

2011-09-06 Thread Roshan Dawrani
Hi, I have just started the process of upgrading Cassandra from 0.7.2 to 0.8.4, and I am facing some issues with embedded cassandra that we utilize in our application. With 0.7.2, we define our keyspace in cassandra.yaml and use Hector to give us an embedded cassandra instance loaded with schema

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-29 Thread Peter Schuller
It clearly isn't. There is definitely work involved for the CPU also when doing mmap. It is just that you move it from context switching and small I/O buffer copying to memory management. *All* memory access a process does is subject to the rules of the memory management unit of the CPU, so

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-29 Thread Jonathan Ellis
On Fri, Jul 29, 2011 at 4:35 AM, Terje Marthinussen tmarthinus...@gmail.com wrote: What is the origin of the mmap is substantially faster claim? The origin is the performance testing we did when adding mmap'd i/o. I believe Chris Goffinet also found a double-digit percentage performance

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Jonathan Ellis
“Cassandra High Performance Cookbook” from Packt has instructions for “Stopping cassandra from using swap without disabling it system wide”. We’ve tried following the instructions but it refers to a “memory_locking_policy” variable in cassandra.yaml which throws an “unknown property” error

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Jonathan Ellis
High Performance Cookbook” from Packt has instructions for “Stopping cassandra from using swap without disabling it system wide”. We’ve tried following the instructions but it refers to a “memory_locking_policy” variable in cassandra.yaml which throws an “unknown property” error on startup and I

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Terje Marthinussen
On Jul 28, 2011, at 9:52 PM, Jonathan Ellis wrote: This is not advisable in general, since non-mmap'd I/O is substantially slower. I see this again and again as a claim here, but it is actually close to 10 years since I saw mmap'd I/O have any substantial performance benefits on any real

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Jonathan Ellis
If you're actually hitting disk for most or even many of your reads then mmap doesn't matter since the extra copy to a Java buffer is negligible compared to the i/o itself (even on ssds). On Jul 28, 2011 9:04 AM, Terje Marthinussen tmarthinus...@gmail.com wrote: On Jul 28, 2011, at 9:52 PM,

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Peter Schuller
I would love to understand how people got to this conclusion however and try to find out why we seem to see differences! I won't make any claims with Cassandra because I have never bothered benchmarking the different in CPU usage since all my use-cases have been more focused on I/O efficiency,

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Terje Marthinussen
Benchmarks was done with up to 96GB memory, much more caching than most people will ever have. The point anyway is that you are talking I/O in 10's or at best, a few hundred MB/sec before cassandra will eat all your CPU (with dual CPU 6 cores in our case). The memcopy involved here deep

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-28 Thread Teijo Holzer
tried following the instructions but it refers to a “memory_locking_policy” variable in cassandra.yaml which throws an “unknown property” error on startup and I can’t find any reference to it in any of the cassandra docs. I’ve copied the summarised instructions below, does anyone know

Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-16 Thread Brandon Williams
Try another slash in file:/, ie file:// On Thu, Jul 14, 2011 at 10:55 AM, Derek Tracy trac...@gmail.com wrote: I tried putting the cassandra.yaml in the classpath but got the same error. Adding -Dcassandra.config=file:/path/to/cassandra.yaml did work. - Derek

Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-14 Thread Derek Tracy
I tried putting the cassandra.yaml in the classpath but got the same error. Adding -Dcassandra.config=file:/path/to/cassandra.yaml did work. - Derek Tracy trac...@gmail.com - On Wed, Jul 13, 2011 at 6:22 PM, Jonathan Ellis jbel

JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Derek Tracy
I am trying to integrate the Cassandra JDBC CQL driver with my companies ETL product. We have an interface that performs database queries using there respective JDBC drivers. When I try to use the Cassandra CQL JDBC driver I keep getting a stacktrace: Unable to locate cassandra.yaml I am using

Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Jonathan Ellis
The current version of the driver does require having the server's cassandra.yaml on the classpath. This is a bug. On Wed, Jul 13, 2011 at 3:13 PM, Derek Tracy trac...@gmail.com wrote: I am trying to integrate the Cassandra JDBC CQL driver with my companies ETL product. We have an interface

RE: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Vivek Mishra
setting server.config -$SERVER_PATH/Cassandra.yaml as a system property should resolve this? -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Thursday, July 14, 2011 3:53 AM To: user@cassandra.apache.org Subject: Re: JDBC CQL Driver unable to locate

RE: Cassandra.yaml

2011-06-21 Thread Vivek Mishra
Thanks Aaron. It is really a great pointer to solution. -Vivek From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Monday, June 20, 2011 12:51 AM To: user@cassandra.apache.org Subject: Re: Cassandra.yaml The change to the remove the calls to DatabaseDecriptor were in this commit

Re: Cassandra.yaml

2011-06-19 Thread aaron morton
://www.thelastpickle.com On 17 Jun 2011, at 20:52, Vivek Mishra wrote: Thanks Aaron. But I tried it with 0.8.0 release only! From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Friday, June 17, 2011 1:55 PM To: user@cassandra.apache.org Subject: Re: Cassandra.yaml sounds like https

Cassandra.yaml

2011-06-17 Thread Vivek Mishra
I have a query: I have my Cassandra server running on my local machine and it has loaded Cassandra specific settings from apache-cassandra-0.8.0-src/apache-cassandra-0.8.0-src/conf/cassandra.yaml Now If I am writing a java program to connect to this server why do I need to provide a new

Re: Cassandra.yaml

2011-06-17 Thread Sasha Dolgy
Hi Vivek, When I write client code in Java, using Hector, I don't specify a cassandra.yaml ... I specify the host(s) and keyspace I want to connect to. Alternately, I specify the host(s) and create the keyspace if the one I would like to use doesn't exist (new cluster for example). At no point

CQL/JDBC: Cannot locate cassandra.yaml

2011-06-05 Thread Timo Nentwig
] org.apache.cassandra.config.DatabaseDescriptor - Fatal configuration error org.apache.cassandra.config.ConfigurationException: Cannot locate cassandra.yaml at org.apache.cassandra.config.DatabaseDescriptor.getStorageConfigURL(DatabaseDescriptor.java:111

Re: CQL/JDBC: Cannot locate cassandra.yaml

2011-06-05 Thread Timo Nentwig
16:21:54,517 ERROR [main] org.apache.cassandra.config.DatabaseDescriptor - Fatal configuration error org.apache.cassandra.config.ConfigurationException: Cannot locate cassandra.yaml Hmm, worked-around that by setting -Dcassandra.config (hmm, the client needs the server's config...?). 2011-06

Re: CQL/JDBC: Cannot locate cassandra.yaml

2011-06-05 Thread Jonathan Ellis
On Sun, Jun 5, 2011 at 9:38 AM, Timo Nentwig timo.nent...@toptarif.de wrote: Hmm, worked-around that by setting -Dcassandra.config (hmm, the client needs the server's config...?). Yes, this is fixed for 0.8.1. Not very verbose :-\ May have something to do with my l/p being just / for

Small typo in conf/cassandra.yaml

2011-05-10 Thread Benoit Perroud
Hi all, I found out a small typo in cassandra.yaml, which can confuse inattentive copy-paster. Here is the patch. Index: conf/cassandra.yaml === --- conf/cassandra.yaml (revision 1101465) +++ conf/cassandra.yaml (working copy

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Jonathan Ellis
. inside quotations is correct in English. On Tue, May 10, 2011 at 9:06 AM, Benoit Perroud ben...@noisette.ch wrote: Hi all, I found out a small typo in cassandra.yaml, which can confuse inattentive copy-paster. Here is the patch. Index: conf/cassandra.yaml

RE: Small typo in conf/cassandra.yaml

2011-05-10 Thread Gert van der Spoel
the point Benoit is trying to make ... CU, Gert On Tue, May 10, 2011 at 9:06 AM, Benoit Perroud ben...@noisette.ch wrote: Hi all, I found out a small typo in cassandra.yaml, which can confuse inattentive copy-paster. Here is the patch. Index: conf/cassandra.yaml

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Tyler Hobbs
On Tue, May 10, 2011 at 11:40 AM, Jonathan Ellis jbel...@gmail.com wrote: . inside quotations is correct in English. It's a subtle and non-obvious rule of English. Besides, in a programming context, the English rule always feels wrong to me :)

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Jonathan Ellis
Comments are text, not code. On Tue, May 10, 2011 at 12:01 PM, Tyler Hobbs ty...@datastax.com wrote: On Tue, May 10, 2011 at 11:40 AM, Jonathan Ellis jbel...@gmail.com wrote: . inside quotations is correct in English. It's a subtle and non-obvious rule of English.  Besides, in a programming

cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Anurag Gujral
Hi All, I have following in my cassandra.yaml keyspaces: - column_families: - column_metadata: [] column_type: Standard compare_with: BytesType gc_grace_seconds: 86400 key_cache_save_period_in_seconds: 14400 keys_cached: 0.0 max_compaction_threshold: 32

Re: cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Tyler Hobbs
http://wiki.apache.org/cassandra/FAQ#no_keyspaces On Mon, May 9, 2011 at 7:51 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I have following in my cassandra.yaml keyspaces: - column_families: - column_metadata: [] column_type: Standard compare_with

Re: cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Narendra Sharma
Look for Where are my keyspaces? on following page: *http://wiki.apache.org/cassandra/StorageConfiguration * On Mon, May 9, 2011 at 5:51 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I have following in my cassandra.yaml keyspaces: - column_families: - column_metadata

Re: cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Paul Loy
anurag.guj...@gmail.comwrote: Hi All, I have following in my cassandra.yaml keyspaces: - column_families: - column_metadata: [] column_type: Standard compare_with: BytesType gc_grace_seconds: 86400 key_cache_save_period_in_seconds: 14400 keys_cached: 0.0

Re: script to modify cassandra.yaml file

2011-03-21 Thread Jonathan Colby
We use Puppet to manage the cassandra.yaml in a different location from the installation. Ours is in /etc/cassandra/cassandra.yaml You can set the environment CASSANDRA_CONF (i believe it is. check the cassandra.in.sh) and the startup script will pick up this as the configuration file

Re: script to modify cassandra.yaml file

2011-03-21 Thread Sasha Dolgy
to elaborate: our_temp_yaml=/tmp/$$.cassandra.yaml cp cassandra.yaml $our_temp_yaml for instance in $instances # do some more work to get the hostname from the instance sed -i s/^seeds:/seeds: \n - $hostname/ $our_temp_yaml done -- the above inserts a new line for each $hostname

script to modify cassandra.yaml file

2011-03-20 Thread Anurag Gujral
Hi All, I want to modify the values in the cassandra.yaml which comes with the cassandra-0.7 package based on values of hostnames, colo etc. Does someone knows of some script which I can use which reads in default cassandra.yaml and write outs new cassandra.yaml with values based

Re: script to modify cassandra.yaml file

2011-03-20 Thread aaron morton
Aaron On 21 Mar 2011, at 12:39, Anurag Gujral wrote: Hi All, I want to modify the values in the cassandra.yaml which comes with the cassandra-0.7 package based on values of hostnames, colo etc. Does someone knows of some script which I can use which reads in default

Fatal configuration error, so how to change listen_address:storage_port in cassandra.yaml ?

2011-03-10 Thread Bob Futrelle
=8080 to JMX_PORT=9980 in cassandra-env.sh Then ran sudo ./bin/cassandra -f -p pidfile threw a Fatal configuration error: org.apache.cassandra.config.ConfigurationException: localhost/10.0.1.3:7000is in use by another process. Change listen_address:storage_port in cassandra.yaml to values that do

Re: Fatal configuration error, so how to change listen_address:storage_port in cassandra.yaml ?

2011-03-10 Thread Aaron Morton
in cassandra-env.sh Then ran sudo ./bin/cassandra -f -p pidfile threw a Fatal configuration error: org.apache.cassandra.config.ConfigurationException: localhost/10.0.1.3:7000 is in use by another process. Change listen_address:storage_port in cassandra.yaml to values that do

cassandra.yaml

2011-03-02 Thread A J
NetworkTopologyStrategy rather than the default SimpleStrategy. I wish to specify how many copies each DC should carry. For the above I changed the cassandra.yaml and cassandra-topology.properties files appropriately on the first node. My question is: For the rest of the nodes, do I have to make all

Re: cassandra.yaml

2011-03-02 Thread Aaron Morton
. For the above I changed the cassandra.yaml and cassandra-topology.properties files appropriately on the first node. My question is: For the rest of the nodes, do I have to make all of the above changes first to their respective config files or just a smaller subset such as (listen_address, seed

cassandra.yaml customization per node

2010-12-30 Thread B. Todd Burruss
how are folks customizing the cassandra.yaml for each node in the cluster. specifically the token and IP address. with XML i used entities, but i'm not familiar with YAML. does yaml support the same concept? or any sort of textual substitution? thx

Re: cassandra.yaml customization per node

2010-12-30 Thread Gary Dusbabek
Funny you should mention that. I just put my half-baked solution to this problem on github today. https://github.com/gdusbabek/cassandra-maker. It generates cassandra.yaml files (and entire config directories too) that are based on the svn defaults. It should be easy to customize it to fit your

Re: cassandra.yaml customization per node

2010-12-30 Thread Nate McCall
:56 PM, Jake Luciani jak...@gmail.com wrote: You can specify the location of cassandra.yaml with a url so you can keep your configs in one (redundant place) like S3 or generate them on the fly in a http service... On Thu, Dec 30, 2010 at 3:34 PM, B. Todd Burruss bburr...@real.com wrote: how

cassandra.yaml after a schema import

2010-08-23 Thread aaron morton
I think this may have been discussed before, but I cannot find any reference to it. Just wanted to confirm how cassandra.yaml is used after the cluster is initialised. Start a clean install of 0.7b1, use jconsole to import the schema from yaml. Drain the node and shut it down, then remove

Re: cassandra.yaml after a schema import

2010-08-23 Thread Sylvain Lebresne
The cassandra.yaml holds general configuration of cassandra and the schema definitions. As of 0.7, the schema definition are not need anymore in this file as schema can be defined programatically. Those definition are are ignored by any node that already have schema loaded (hence the warning

Re: cassandra.yaml after a schema import

2010-08-23 Thread Aaron Morton
Thanks for theexplanation, I'll see if I can merge that into thehttp://wiki.apache.org/cassandra/StorageConfigurationandhttp://wiki.apache.org/cassandra/StorageConfiguration_0.7pagesAaronOn 24 Aug, 2010,at 12:42 AM, Sylvain Lebresne sylv...@yakaz.com wrote:The cassandra.yaml holds general