Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
Glad to hear it :). Sorry for the late response -- only just saw your messages :(. Faraaz On Mon, May 20, 2013 at 07:48:19PM -0700, Arthur Zubarev wrote: > Problem solved. > > Just for the record: > > I now know that the inability to start due to out of memory was red herring. > > It was most

Re: Unable to start Cassandra

2013-05-20 Thread Arthur Zubarev
Problem solved. Just for the record: I now know that the inability to start due to out of memory was red herring. It was most probably me upgrading my Ubuntu Desktop 13, and this somehow wrecked the permissions, there is a slight possibility it is the C* 1.2.5 upgrade (I just cannot correlate

Re: Unable to start Cassandra

2013-05-20 Thread Arthur Zubarev
Copied the contents of the Conf directory to /etc/cassandra and now I am back to square one, it can't start due to: HeapDumpOnOutOfMemoryError -Xss180k in full the error is: sudo service cassandra start xss = -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -X

Re: Logging Cassandra queries

2013-05-20 Thread Ilya Kirnos
sure, i think it'd be a useful feature On Sat, May 18, 2013 at 4:13 PM, Tomàs Núnez wrote: > If you're looking for logging like "get keyX with CL quorum and slice Y >> took n millis" > > > That would be even better! Maybe should I file a ticket in Cassandra Jira > for this feature? Do you think

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Edward Capriolo
Replication factor USED to be a property of the keyspace. Now as you can see it is correctly associated with strategy options. This makes sense because the strategy uses the options to decide how any where to place data. On Mon, May 20, 2013 at 1:46 PM, Bryan Talbot wrote: > On Mon, May 20, 2013

Re: Unable to start Cassandra

2013-05-20 Thread Arthur Zubarev
I have no such evidence: Start-Date: 2013-05-20 11:48:17 Commandline: apt-get install cassandra Install: libjna-java:amd64 (3.2.7-4, automatic), jsvc:amd64 (1.0.10-3, automatic), libopts25:amd64 (5.17.1-1ubuntu2, automatic), java-common:amd64 (0.43ubuntu4, automatic), icedtea-6-jre-cacao:amd64

Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
There are no files in /etc/cassandra even though the package claims to have put some there and own them? Hm... that's weird -- try looking in the dpkg logs to find out if they were somehow removed. You might try reinstalling the package to have it reinstall the files. Faraaz On Mon, May 20, 2013

Re: Unable to start Cassandra

2013-05-20 Thread Arthur Zubarev
Hi Faraaz, yes, this time C* doesn't start due to inability to log I assume. I get ii cassandra 1.2.5 out of the 1st statement, the 2nd gave /usr/share/doc/cassandra/licenses/slf4j-log4j12-1.6.1.txt /usr/share/doc/cassandra/licenses/log4j-1.2.16.txt.gz

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
Great! thanks Bryan. I seemed to confused by "logical ring" within each data-center. Actually, if I focus on RF that was configured it is all obvious. :) Thanks for your time, PP

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Bryan Talbot
On Mon, May 20, 2013 at 10:01 AM, Pinak Pani < nishant.has.a.quest...@gmail.com> wrote: > Assume NetworkTopologyStrategy. So, I wanted to know whether a data-center > will contain all the keys? > > This is the case: > > CREATE KEYSPACE appKS > WITH placement_strategy = 'NetworkTopologyStrategy'

Re: Unable to start Cassandra

2013-05-20 Thread Faraaz Sareshwala
The logs don't seem to be talking about memory issues -- it can't find the log4j settings file in the correct location under where the CASSANDRA_HOME environment variable points to. I have packaged cassandra myself so I'm not entirely familiar with the pre-packaged installations. Try doing the fol

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
Assume NetworkTopologyStrategy. So, I wanted to know whether a data-center will contain all the keys? This is the case: CREATE KEYSPACE appKS WITH placement_strategy = 'NetworkTopologyStrategy' AND strategy_options={DC1:3, DC2:3}; Does DC1 and DC2 each contain complete database corpus? That

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Apostolis Xekoukoulotakis
http://www.datastax.com/docs/1.0/cluster_architecture/replication 2013/5/20 Bryan Talbot > Option #3 since it depends on the placement strategy and not the > partitioner. > > -Bryan > > > > On Mon, May 20, 2013 at 6:24 AM, Pinak Pani < > nishant.has.a.quest...@gmail.com> wrote: > >> I just want

Re: In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Bryan Talbot
Option #3 since it depends on the placement strategy and not the partitioner. -Bryan On Mon, May 20, 2013 at 6:24 AM, Pinak Pani < nishant.has.a.quest...@gmail.com> wrote: > I just wanted to verify the fact that if I happen to setup a multi > data-center Cassandra setup, will each data center

Unable to start Cassandra

2013-05-20 Thread Arthur Zubarev
Hello All: I had Cassandra 1.2.4 running up until yesterday, then after I tookan Ubuntu update (may be related or may not), I suddenly wasn't ableto connect any more. The error was related to lack of memory and suggested a modificationto its config, I kept increa

In a multiple data center setup, do all the data centers have complete data irrespective of RF?

2013-05-20 Thread Pinak Pani
I just wanted to verify the fact that if I happen to setup a multi data-center Cassandra setup, will each data center have the complete data-set with it? Say, I have two data-center each with two nodes, and a partitioner that ranges from 0 to 100. Initial token assigned this way DC1:N1 = 00 DC2:N