Re: Cassandra pending compaction tasks keeps increasing

2013-01-25 Thread Wei Zhu
To recap the problem, 1.1.6 on SSD, 5 nodes, RF = 3, one CF only. After data load, initially all 5 nodes have very even data size (135G, each). I ran nodetool repair -pr on node 1 which have replicates on node 2, node 3 since we set RF = 3. It appears that huge amount of data got transferred.

Re: astyanax connection ring describe discovery

2013-01-25 Thread Derek Williams
Make sure you are setting the discovery type to ring describe or token aware. This is different from the connection pool type, which can also be token aware. On Fri, Jan 25, 2013 at 11:26 AM, Hiller, Dean wrote: > IS anyone using astyanax with their cassandra along with TOKEN AWARE as in > here

Re: astyanax connection ring describe discovery

2013-01-25 Thread Andrey Ilinykh
I use astyanax 1.56.18 with cassandra 1.1.5. Everything works as supposed to. What does ThreadPoolMonitor report? Andrey On Fri, Jan 25, 2013 at 10:26 AM, Hiller, Dean wrote: > IS anyone using astyanax with their cassandra along with TOKEN AWARE as in > here (cassandra version 1.1.4) > > (see

RE: change Storage port

2013-01-25 Thread ANAND_BALARAMAN
Even I am facing a similar issue. I am using Bulkoutput format for loading data from Hadoop to Cassandra. All I need is to set the storage_port explicitly in my job/program. Can anyone help me in setting the storage_port configuration parameter from my java program? Anand B From: chandra Varah

Re: CQL3 and clients for new Cluster

2013-01-25 Thread Michaël Figuière
If your project isn't meant to go in production immediately and you want to use Cassandra 1.2+, you can give a try to DataStax' new Java driver which is available at https://github.com/datastax/java-driver Just a snapshot for now. A 1.0 release is expected for late March, meanwhile we'll iterate ov

astyanax connection ring describe discovery

2013-01-25 Thread Hiller, Dean
IS anyone using astyanax with their cassandra along with TOKEN AWARE as in here (cassandra version 1.1.4) (see Token Aware section) https://github.com/Netflix/astyanax/wiki/Configuration We have maxConnsPerHost 20 right now and 3 seeds for our cluster but astyanax is not discovering any other n

Re: JMX CF Beans

2013-01-25 Thread Tyler Hobbs
On Fri, Jan 25, 2013 at 8:07 AM, Nicolas Lalevée wrote: > Just a quick question about the attributes exposed via JMX. I have some > doc [1] but it doesn't help about CF beans. > > The "BloomFilterFalseRatio", is that the ratio of found vs missed, or the > ratio of false positive vs the number of

Re: Unavaliable Exception

2013-01-25 Thread Michael Kjellman
More nodes! On Jan 25, 2013, at 7:21 AM, "Alain RODRIGUEZ" mailto:arodr...@gmail.com>> wrote: fwiw, I have a mixed ubuntu 11.10 / 12.04 6 node cluster (AWS m1.xlarge). The load average is always between 0 and 5 for 11.10 nodes while 12.04 nodes shows all the time a load between 2 and 20. I ha

Re: Unavaliable Exception

2013-01-25 Thread Alain RODRIGUEZ
fwiw, I have a mixed ubuntu 11.10 / 12.04 6 node cluster (AWS m1.xlarge). The load average is always between 0 and 5 for 11.10 nodes while 12.04 nodes shows all the time a load between 2 and 20. I have the same configuration on each node and the average request latency is a few better on 12.04 no

RE: JMX CF Beans

2013-01-25 Thread Viktor Jevdokimov
src/java/org/apache/цassandra/db/DataTracker.java: public double getBloomFilterFalseRatio() { … return (double) falseCount / (trueCount + falseCount); … } ReadCount/WriteCount on CF is for this CF on this node only, so it’s local/internal only reads/writes for the node’s range. Best regards /

JMX CF Beans

2013-01-25 Thread Nicolas Lalevée
Just a quick question about the attributes exposed via JMX. I have some doc [1] but it doesn't help about CF beans. The "BloomFilterFalseRatio", is that the ratio of found vs missed, or the ratio of false positive vs the number of tests, or something else ? The "ReadCount" and "WriteCount", how

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Sylvain Lebresne
No, I don't mean 2 instances. Cassandra 1.2.0 has 2 completely separate client server: the thrift one and the native protocol one. You can start those independently. So, on the same instance you can have either just thrift, just the native protocol, both of them or none of them (though that latter

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
Any suggestions? Once i enable *native_transport_port: 9042*, it will not start cassandra thrift automatically, Even if *start_rpc: true* ? Or it should start listening to both ports? On Fri, Jan 25, 2013 at 4:39 PM, Vivek Mishra wrote: > Means start 2 instances , 1 for thrift based access a

Re: trouble setting up initial cluster: Host ID collision between active endpoint

2013-01-25 Thread Tim Dunphy
Hi Ben, Thanks for the tip I will certainly check it out. I really appreciate the information! Tim On Thu, Jan 24, 2013 at 6:32 PM, Ben Bromhead wrote: > Hi Tim > > If you want to check out Cassandra on AWS you should also have a look > www.instaclustr.com. > > We are still very much in Beta

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
For Beginners on any new open source, it is always good to have atleast some sort of comments! -Vivek On Fri, Jan 25, 2013 at 4:30 PM, Vivek Mishra wrote: > OK.I guess that's why there is a need of class/method level java comments. > > -Vivek > > > On Fri, Jan 25, 2013 at 4:28 PM, Sylvain Lebre

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
Means start 2 instances , 1 for thrift based access and another for native? Of course on different port. Once i enable *native_transport_port: 9042*, it will not start cassandra thrift automatically? Even if *start_rpc: true* -Vivek On Fri, Jan 25, 2013 at 4:33 PM, Sylvain Lebresne wrote: > Wel

Re: Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Sylvain Lebresne
Well, the cassandra-cli uses the thrift protocol, so it will not work is you use start_rpc: false. Whether you start the binary protocol server has no real impact as Cassandra is fine starting both server (as long as you don't set the same port for both for obvious reasons). Obviously, if you point

Re: CQL binary protocol error

2013-01-25 Thread Vivek Mishra
Then only possible way is via creating own java program to connect/execute? And then restart again in Thrift mode to connect via cqlsh/cassandra-cli ? -Vivek On Fri, Jan 25, 2013 at 4:30 PM, Sylvain Lebresne wrote: > cqlsh does not use the native protocol (It may and hopefully will someday > but

Re: CQL binary protocol error

2013-01-25 Thread Sylvain Lebresne
cqlsh does not use the native protocol (It may and hopefully will someday but it's not the case right now). -- Sylvain On Fri, Jan 25, 2013 at 11:49 AM, Vivek Mishra wrote: > I have enabled *start_native_transport: true* in cassandra.yaml and then > tried to connect from cqlsh as: > > */home/v

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
OK.I guess that's why there is a need of class/method level java comments. -Vivek On Fri, Jan 25, 2013 at 4:28 PM, Sylvain Lebresne wrote: > On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra wrote: > >> Any documentation for this? > > > For what? For the code? Everyone knows the code is it's own do

Re: CQL binary protocol

2013-01-25 Thread Sylvain Lebresne
On Fri, Jan 25, 2013 at 11:24 AM, Vivek Mishra wrote: > Any documentation for this? For what? For the code? Everyone knows the code is it's own documentation! -- Sylvain

Cassandra-cli : with CQL binary protocol

2013-01-25 Thread Vivek Mishra
Is this a valid assumption that cassandra-cli will not work, if Cassandra server is getting started by enabling CQL binary protocol? -Vivek

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
Any documentation for this? -Vivek On Fri, Jan 25, 2013 at 3:39 PM, Sylvain Lebresne wrote: > On Fri, Jan 25, 2013 at 10:29 AM, Vivek Mishra wrote: > >> I need to refer "org.apache.cassandra.transport" package for code >> walkthrough? > > > Yes, that's where the code is. > > -- > Sylvain > > >>

Re: CQL binary protocol

2013-01-25 Thread Sylvain Lebresne
On Fri, Jan 25, 2013 at 10:29 AM, Vivek Mishra wrote: > I need to refer "org.apache.cassandra.transport" package for code > walkthrough? Yes, that's where the code is. -- Sylvain > > > -vivek > > > On Fri, Jan 25, 2013 at 2:51 PM, Sylvain Lebresne wrote: > >> >> https://git-wip-us.apache.org/

Re: CQL binary protocol

2013-01-25 Thread Vivek Mishra
Thanks Sylvain. I need to refer "org.apache.cassandra.transport" package for code walkthrough? -vivek On Fri, Jan 25, 2013 at 2:51 PM, Sylvain Lebresne wrote: > > https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol.spec > > > On Fri, Jan 25, 2013 at 10:15 A

Re: CQL binary protocol

2013-01-25 Thread Sylvain Lebresne
https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=doc/native_protocol.spec On Fri, Jan 25, 2013 at 10:15 AM, Vivek Mishra wrote: > Hi, > I am looking for some sort documentation around usage for CQL binary > protocol. Basically i need some documentation about usage of "cassa