Re: Read performance in map data type

2014-03-31 Thread Apoorva Gaurav
Thanks Robert, Is there a workaround, as in our test setups we keep dropping and recreating tables. On Mon, Mar 31, 2014 at 11:51 PM, Robert Coli wrote: > On Fri, Mar 28, 2014 at 7:41 PM, Apoorva Gaurav > wrote: > >> Yes primary key is (studentID, subjectID). I had dropped the test table, >> r

Help collecting Cassandra examples

2014-03-31 Thread James Horey
Hello all, I’m trying to collect and organize Cassandra applications for educational purposes. I’m hoping that by collating these applications in a single place, new users will be able to get up to speed a bit easier. If you know of a great application (should be open-source and preferably up t

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Tim Dunphy
> > Is SELinux enabled? Nope! It's disabled. On Mon, Mar 31, 2014 at 2:50 PM, Michael Shuler wrote: > Is SELinux enabled? > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Re: Row cache for writes

2014-03-31 Thread Ashok Ghosh
On Mar 31, 2014 12:38 PM, "Wayne Schroeder" wrote: > I found a lot of documentation about the read path for key and row caches, > but I haven't found anything in regard to the write path. My app has the > need to record a large quantity of very short lived temporal data that will > expire within

Re: Opscenter help?

2014-03-31 Thread Drew from Zhrodague
I have to reply to myself, since there were no helpful responses. Perhaps these notes can help other people from pulling their hair out. When installing the datastax-agent on EL6, it is required to do a bunch of things to correct a bunch of stuff. [] yum install mx4j log4j datastax-agent -

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Michael Shuler
Is SELinux enabled?

Re: Read performance in map data type

2014-03-31 Thread Robert Coli
On Fri, Mar 28, 2014 at 7:41 PM, Apoorva Gaurav wrote: > Yes primary key is (studentID, subjectID). I had dropped the test table, > recreating and populating it post which will share the cfhistogram. In such > case is there any practical limit on the rows I should fetch, for e.g. > should I do >

Re: Meaning of "token" column in system.peers and system.local

2014-03-31 Thread Robert Coli
On Sun, Mar 30, 2014 at 4:51 PM, Clint Kelly wrote: > 1. *How many total unique tokens should I expect to see in my cluster?* > If I have three nodes, and each node has a cassandra.yaml with num_tokens = > 256, then should I expect a total of 256*3 = 768 distinct vnodes? > Yes. Generally, vnodes

Re: Row cache for writes

2014-03-31 Thread Wayne Schroeder
Perhaps I should clarify my question. Is this possible / how might I accomplish this with cassandra? Wayne On Mar 31, 2014, at 12:58 PM, Robert Coli mailto:rc...@eventbrite.com>> wrote: On Mon, Mar 31, 2014 at 9:37 AM, Wayne Schroeder mailto:wschroe...@pinsightmedia.com>> wrote: I found a

Re: Row cache for writes

2014-03-31 Thread Robert Coli
On Mon, Mar 31, 2014 at 9:37 AM, Wayne Schroeder < wschroe...@pinsightmedia.com> wrote: > I found a lot of documentation about the read path for key and row caches, > but I haven't found anything in regard to the write path. My app has the > need to record a large quantity of very short lived tem

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Tim Dunphy
> > Have you tried to run it as another user, not root? Yep! With no change in result. I get the exact same error message running as a non-privileged user. Thanks Tim On Mon, Mar 31, 2014 at 12:08 PM, Marcin Cabaj wrote: > Have you tried to run it as another user, not root? > > > On Mon, Mar

Row cache for writes

2014-03-31 Thread Wayne Schroeder
I found a lot of documentation about the read path for key and row caches, but I haven't found anything in regard to the write path. My app has the need to record a large quantity of very short lived temporal data that will expire within seconds and only have a small percentage of the rows acce

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Marcin Cabaj
Have you tried to run it as another user, not root? On Mon, Mar 31, 2014 at 4:52 PM, Tim Dunphy wrote: > Hi Marcin, > > Thanks! I'm running the bash shell. And for some reason it also looks > like bash does understand 'exec'. > > [root@beta:~] #echo $SHELL > /bin/bash > [root@beta:~] #exec >

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Tim Dunphy
Hi Marcin, Thanks! I'm running the bash shell. And for some reason it also looks like bash does understand 'exec'. [root@beta:~] #echo $SHELL /bin/bash [root@beta:~] #exec Why it suddenly looses that understanding when it runs the cassandra start script, I have no clue. I even tried changing

Re: Cassandra Chef cookbook - weird bug with broadcast_address: 10.0.2.15

2014-03-31 Thread Clint Kelly
Hi Marcin, You are correct that I am using Vagrant. Sorry for not specifying that. OMG you are correct. I spent about an hour over the weekend trying to figure out what was going on. I got confused because "listen_address" is also set to node[:ipaddress], and listen_address was always set corr

Re: Cassandra Chef cookbook - weird bug with broadcast_address: 10.0.2.15

2014-03-31 Thread Marcin Cabaj
Hi Clint, I'm guessing you are using vagrant. The thing is cassandra-chef-cookbook use template cassandra.yaml.erb, where you can find: "broadcast_address: <%= node[:cassandra][:broadcast_address] %>" which in turn is equal to "node[:ipaddress]". Value of node[:ipaddress] depends on how do you con

Re: cassandra 2.0.6 refuses to start

2014-03-31 Thread Marcin Cabaj
Hi Tim, exec is a shell builtin command, what kind of shell do you use? Please run: $ echo $SHELL $ exec On Sat, Mar 29, 2014 at 11:10 PM, Tim Dunphy wrote: > hey all.. > > love using the cassandra database. however I've just installed 2.0.6 onto > a new host running CentOS 6.5 and when I

Re: Meaning of "token" column in system.peers and system.local

2014-03-31 Thread Clint Kelly
Hi Theo, Thanks for your response. I understand what you are saying with regard to the load balancing. I posted my question to the DataStax list and one of the folks there answered it. I put his response below (for anyone who may be curious): Sylvain Lebresne sylv...@datastax.com 4:03 AM (4 h

Re: Meaning of "token" column in system.peers and system.local

2014-03-31 Thread Theo Hultberg
your assumption about 256 tokens per node is correct. as for you second question, it seems to me like most of your assumptions are correct, but I'm not sure I understand them correctly. hopefully someone else can answer this better. tokens are a property of the cluster and not the keyspace. the fi

[RELEASE] Apache Cassandra 1.2.16 released

2014-03-31 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra version 1.2.16. Cassandra is a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model. You can read more here: http://cassan