Re: JNA not found.

2013-01-29 Thread Yogi Nerella
Chandra, Try adding the following option, which may give you more info in the log or console. -Xcheck:jni Do you have any custom c++ libraries using JNA interface?You should add your custom libraries in LD_LIBRARY_PATH or provide them in -Djava.library.path. Yogi On Tue, Jan 29, 2013 at 1

Re: Cassandra ring not behaving like a ring

2014-01-16 Thread Yogi Nerella
Hi, I am new to Cassandra Environment, does the order of the ring matter, as long as the member joins the group? Yogi On Thu, Jan 16, 2014 at 12:49 PM, Jonathan Haddad wrote: > Please include the output of "nodetool ring", otherwise no one can help > you. > > > On Thu, Jan 16, 2014 at 12:45 P

Re: Extremely long GC

2014-01-22 Thread Yogi Nerella
Hi, Can you share the GC logs for the systems you are running problems into? Yogi On Wed, Jan 22, 2014 at 6:50 AM, Joel Samuelsson wrote: > Hello, > > We've been having problems with long GC pauses and can't seem to get rid > of them. > > Our latest test is on a clean machine with Ubuntu 12.04

Re: Exception in thread "main" java.lang.NoClassDefFoundError

2014-01-22 Thread Yogi Nerella
I think you are building from the source, were there any build failures, before you started the test? can you rebuild and try again? Please provide the command line you are using as well? On Wed, Jan 22, 2014 at 3:06 AM, Jason Wee wrote: > NoClassDefFoundError: org/apache/cassandra/service/C

Re: Extremely long GC

2014-01-23 Thread Yogi Nerella
wrote: > Here is one example. 12GB data, no load besides OpsCenter and perhaps 1-2 > requests per minute. > INFO [ScheduledTasks:1] 2013-12-29 01:03:25,381 GCInspector.java (line > 119) GC for ParNew: 426400 ms for 1 collections, 2253360864 used; max is > 4114612224 > > >

Re: Ultra wide row anti pattern

2014-02-04 Thread Yogi Nerella
Sorry, I am not understanding the problem, and I am new to Cassandra, and want to understand this issue. Why do we need to use wide row for this situation, why not a simple table in cassandra? todolist (user, state) ==> is there any other information in this table which needs for processing to

Re: in AWS is it worth trying to talk to a server in the same zone as your client?

2014-02-12 Thread Yogi Nerella
Also, may be you need to check the read consistency to local_quorum, otherwise the servers still try to read the data from all other data centers. I can understand the latency, but I cant understand how it would save money? The amount of data transferred from the AWS server to the client should

Re: Expired column showing up

2014-02-14 Thread Yogi Nerella
I am just learning, I don't know answer to your question, but What is the use case for TTL as 1 second? On Fri, Feb 14, 2014 at 6:45 AM, mahesh rajamani wrote: > Hi, > > I am using Cassandra 2.0.2 version. On a wide row (approx. 1 columns), > I expire few column by setting TTL as 1 second.

Re: Turn off compression (1.2.11)

2014-02-18 Thread Yogi Nerella
I am new and trying to learn Cassandra. Based on my understanding of the problem, almost 2Gb is taken up just for the compression headers heap. And 100MB per SSTable, and about 30,000 files gives about 3TB of data? What is the hardware and memory configuration you are using to provide this large

Re: High CPU load on one node in the cluster

2014-02-19 Thread Yogi Nerella
Could be your -Xmn800M is too low, that is why it is trying garbage collecting very frequently. Do you have any statistics on how much memory it is collecting on every cycle? On Wed, Feb 19, 2014 at 8:47 AM, Sourabh Agrawal wrote: > Below is CPU usage from top. I don't see any steal. Idle time

Re: High CPU load on one node in the cluster

2014-02-19 Thread Yogi Nerella
://stackoverflow.com/questions/1161647/how-to-redirect-verbose-garbage-collection-output-to-a-file It depends on what JVM you are running. On Wed, Feb 19, 2014 at 9:12 AM, Sourabh Agrawal wrote: > How do I get that statistic? > > > On Wed, Feb 19, 2014 at 10:34 PM, Yogi N

Re: Performance problem with large wide row inserts using CQL

2014-02-19 Thread Yogi Nerella
Rudger, I am trying this on 2.0.5 to see, but both Scala code and AST code are going to different tables? Can you give the exact AST code you are trying? Yogi On Wed, Feb 19, 2014 at 10:49 AM, Sylvain Lebresne wrote: > On Wed, Feb 19, 2014 at 11:27 AM, RĂ¼diger Klaehn wrote: > >> >> Am I doin

Re: Performance problem with large wide row inserts using CQL

2014-02-19 Thread Yogi Nerella
I have a two node cluster. Tried with both 2.0.4 and 2.0.5. I have tried your code, and exactly after inserting 127 rows, the next insert fails. 10.566482102276002 123 2.7760618708015863 124 8.936212688296054 125 9.532923906962095 126 7.5081516753554505 127 java.lang.RuntimeException: failed to w

Re: Performance problem with large wide row inserts using CQL

2014-02-19 Thread Yogi Nerella
with astyanax (or with > cassandra in general for that matter). It seems that I just happened to hit > an issue the the first time I was playing with it... > > cheers, > > RĂ¼diger > > p.s. Did you also have a large performance difference between the Thrift > and the CQ

Re: Performance problem with large wide row inserts using CQL

2014-02-21 Thread Yogi Nerella
Sylvain, I am trying ccm to install and it does from source directory, I have tried 2.0.4/3/2/1 and 1.2.15, all of them are reporting the same failure after 127 records inserted. I am using 1.56.34 and 1.56.38 client both reports the same issue. Is something wrong with the client or the server,

Re: Performance problem with large wide row inserts using CQL

2014-02-21 Thread Yogi Nerella
. create keyspace test1 with replication = { 'class':'SimpleStrategy', 'replication_factor':1}; CREATE TABLE IF NOT EXISTS wide ( time varchar, name varchar, value varchar, PRIMARY KEY (time,name)) WITH COMPACT STORAGE; On Fri, Feb 21, 2014 at 11:47 AM,