[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 past,

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] https://issues.apache.org/jira/browse/CASSANDRA-15234

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 of

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
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
hange 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

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-26 Thread Manu Chadha
o 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,

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 c

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 of

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

2017-11-04 Thread Jeff Jirsa
--- > *From:* "Steinmaurer, Thomas" > *To:* "user@cassandra.apache.org" > *Sent:* Friday, November 3, 2017 6:34 AM > *Subject:* cassandra.yaml configuration for large machines (scale up vs. > scale out) > > Hello, > > I know that Cassandra is b

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

2017-11-04 Thread James Briggs
L DBA. Available in San Jose area or remote. cass_top: https://github.com/jamesbriggs/cassandra-top From: "Steinmaurer, Thomas" To: "user@cassandra.apache.org" Sent: Friday, November 3, 2017 6:34 AM Subject: cassandra.yaml configuration for large machines (scale up

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

2017-11-03 Thread Steinmaurer, Thomas
nning 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_compacto

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
recognize the path to the file cassandra.yaml ? Thanks a lot. Best Regards.

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

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

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Alain RODRIGUEZ
x27;t figure >> out what exactly. >> >> C*heers, >> >> Alain >> >> 2014-12-29 14:52 GMT+01:00 Jason Wee : >> >>> https://issues.apache.org/jira/browse/CASSANDRA-3534 >>> >>> On Mon, Dec 29, 2014 at 6:58 PM, Alain RODRIGUEZ >>

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Jason Wee
2014 at 6:58 PM, Alain RODRIGUEZ >> wrote: >> >>> 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 f

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

2014-12-29 Thread Alain RODRIGUEZ
i-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.6.jar:/usr/share/cassandra/lib/snappy-java-1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/apache-cassandra-1.2.16.jar:/usr/share/cassandra/apache-cassandra-thrift-1.2.16.jar:

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Alain RODRIGUEZ
is 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, b

Re: diff cassandra.yaml 1.2 --> 2.1

2014-12-29 Thread Jason Wee
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

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

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 DE VITO Dominique
13 15:57 À : 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

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'

property 'disk_access_mode' not found in cassandra.yaml

2013-01-04 Thread DE VITO Dominique
finds nothing) - this property is not in cassandra.yaml (not in v1.1, v1.0, v0.8, V0.7, v0.6, v0.5...), even into the commented parts. - the Cassandra wiki does not document it (the search finds nothing). - the search http://www.datastax.com/docs/search-1-1?q=disk_access_mode gives one page resul

Re: Changing rpc_port in cassandra.yaml has no effect

2012-12-28 Thread Bob Futrelle
bedded 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 > only ever use it in my unit tests ) > > CassandraDaemon cassandra = new Cassa

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-26 Thread Manu Zhang
assume you're using a *nix system, the command to check which program is using port 9160: netstat -anp | grep 9160 On Wed, Dec 26, 2012 at 5:56 AM, Bob Futrelle wrote: > I have been using cqlsh (and --cql3) successfully for a few weeks. > But yesterday it stopped working, with the all too famili

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

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

2012-06-03 Thread Rishabh Agrawal
ti 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

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

2012-06-03 Thread Roshni Rajagopal
pache.org>" mailto:user@cassandra.apache.org>> Date: Sun, 3 Jun 2012 22:58:24 -0700 To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Can not find auto bootstrap property in cassandra.yaml for Cassandra 1.1.0 Dear

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

2012-06-03 Thread Pushpalanka Jayawardhana
; > 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

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

2012-06-03 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: 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 notic

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. thrift_framed_transport_size_in_mb

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.

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 : > 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 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.) -- /

Seed nodes in cassandra.yaml can not be hostnames

2011-09-24 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 Roshan Dawrani
nning into another 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.y

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

2011-09-07 Thread Jonathan Ellis
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 from cassandra.yaml. Is > it not possible to do the same with Cassandra

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 Jonathan Ellis
On Fri, Jul 29, 2011 at 4:35 AM, Terje Marthinussen 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 improvement at Digg and/or

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

2011-07-29 Thread Terje Marthinussen
On Fri, Jul 29, 2011 at 6:29 AM, Peter Schuller wrote: > > 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

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-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 if this is

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 inside

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 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" wrote: > > On Jul 28, 2011, at 9:52 PM, Jonathan Ellis wrote: >

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
but > the recently released “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

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

2011-07-28 Thread Jonathan Ellis
the general consensus is to just disable swap completely, >> but the recently released “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 bu

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

2011-07-28 Thread Adi
ed 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, d

Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-15 Thread Brandon Williams
Try another slash in file:/, ie file:// On Thu, Jul 14, 2011 at 10:55 AM, Derek Tracy 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. > > >

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 wrote

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 loc

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 wrote: > I am trying to integrate the Cassandra JDBC CQL driver with my companies ETL > product. > We have an interface

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: 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 on the

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 > &

RE: Cassandra.yaml

2011-06-17 Thread Vivek Mishra
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://issues.apache.org/jira/browse/CASSANDRA-2694 Cheers

Re: Cassandra.yaml

2011-06-17 Thread aaron morton
assNotFoundException e) { >e.printStackTrace(); >} catch (SQLException e) { >e.printStackTrace(); >} >} > > Getting following error: > org

RE: Cassandra.yaml

2011-06-17 Thread Vivek Mishra
sNotFoundException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } } Getting following error: org.apache.cassandra.config.ConfigurationException: Cannot locate cassa

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). A

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: CQL/JDBC: Cannot locate cassandra.yaml

2011-06-05 Thread Jonathan Ellis
On Sun, Jun 5, 2011 at 9:38 AM, Timo Nentwig 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 > AllowAll. Correct, that's

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...?). 20

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) at

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 wrote: > On Tue, May 10, 2011 at 11:40 AM, Jonathan Ellis 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 a

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Tyler Hobbs
On Tue, May 10, 2011 at 11:40 AM, Jonathan Ellis 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 Gert van der Spoel
gSync That's the point Benoit is trying to make ... CU, Gert > > On Tue, May 10, 2011 at 9:06 AM, Benoit Perroud > wrote: > > Hi all, > > > > I found out a small typo in cassandra.yaml, which can confuse > > inattentive copy-paster. Here i

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 wrote: > Hi all, > > I found out a small typo in cassandra.yaml, which can confuse > inattentive copy-paster. Here is the patch. > > > Index

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: cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Paul Loy
ral wrote: > >> Hi All, >>I have following in my cassandra.yaml >> keyspaces: >> - column_families: >> - column_metadata: [] >> column_type: Standard >> compare_with: BytesType >> gc_grace_seconds: 864

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 wrote: > Hi All, >I have following in my cassandra.yaml > keyspaces: > - column_families:

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 wrote: > Hi All, >I have following in my cassandra.yaml > keyspaces: > - column_families: > - column_metadata: [] > column_type: Standard > co

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: 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 $hostnam

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 to

Re: script to modify cassandra.yaml file

2011-03-21 Thread Sasha Dolgy
I use grep / awk / sed from within a bash script ... this works quite well. -sd On Mon, Mar 21, 2011 at 12:39 AM, 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, &

Re: script to modify cassandra.yaml file

2011-03-20 Thread aaron morton
vider 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 wh

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 on

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

2011-03-10 Thread Aaron Morton
> JMX_PORT="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:7000 > is in use by a

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

2011-03-10 Thread Bob Futrelle
ange: JMX_PORT="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 ca

Re: cassandra.yaml

2011-03-02 Thread Aaron Morton
C > 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 of > the above changes first to their respective config files or ju

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 of the

Re: cassandra.yaml customization per node

2010-12-30 Thread Nate McCall
2010 at 2:56 PM, Jake Luciani 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 wrote: >>

Re: cassandra.yaml customization per node

2010-12-30 Thread Jake Luciani
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 wrote: > how are folks customizing the cassandra.yaml for each node in

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

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 after a schema import

2010-08-23 Thread Peter Harrison
On Tue, Aug 24, 2010 at 12:28 AM, aaron morton wrote: > 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 jconsol

Re: cassandra.yaml after a schema import

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

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). But

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 the

  1   2   >