Re: To batch or not to batch: A question for fast inserts

2015-09-27 Thread Gerard Maas
Hi Eric, Ryan, Thanks a lot for your insights. I got more than I hoped for in this discussion. I'll further improve our code to include the replica-awareness and will compare that to the previous tests. That snipped of code is really helpful. Thanks. I have not been in the list long enough to

Re: Running Cassandra on Java 8 u60..

2015-09-27 Thread Graham Sanderson
IMHO G1 is still buggy on JDK8 (based solely on being subscribed to the gc-dev mailing list)… I think JDK9 will be the one. > On Sep 25, 2015, at 7:14 PM, Stefano Ortolani wrote: > > I think those were referring to Java7 and G1GC (early versions were buggy). > > Cheers, >

Re: To batch or not to batch: A question for fast inserts

2015-09-27 Thread Graham Sanderson
We are about to prototype upgrading our batch inserts, so I’m really glad about this thread… we are able to saturate our dedicated network links from hadoop when inserting via thrift API (Astyanax) - at the time we wrote that code CQL wasn’t there. Reasons to replace our current solution: 1)

Re: High read latency

2015-09-27 Thread Jaydeep Chovatia
Read requires avg. 6 sstables and my read latency is 42 ms. so on avg. we can say Cassandra is taking 7ms to process data from one sstable *which is entirely in memory*. I think there is something wrong here. If we go with this math then we can say Cassandra latency would be always > 7ms for most

Re: High read latency

2015-09-27 Thread Jonathan Haddad
1. Is it consistently taking that long? 2. Have you traced the requests? 3. Are you watching your GC history? 4. What's the load on the machine? Does dstat show high CPU or disk utilization? I did a webinar about a year ago on how to dig into these issues, you may find it useful:

Cassandra 2.2 with PIG 0.15.0 ERROR 2118

2015-09-27 Thread Kenji
hi guys, I started off trying to do simple pig+cassandra integration with this tutorial from datastax:http://docs.datastax.com/en/datastax_enterprise/4.5/datastax_enterprise/ana/anaPigExRel.html but when i try to store the result into cql, i get this error: Message:

Re: Throttling Cassandra Load

2015-09-27 Thread Anuj Wadehra
Hi, Any suggestions/comments on approach ? What you guys are doing to keep check on misbehaved clients and restrict Cassandra load. Note: We will be moving to CQL driver but that will take months.  Anuj Sent from Yahoo Mail on Android From:"Anuj Wadehra" Date:Wed,

Re: Running Cassandra on Java 8 u60..

2015-09-27 Thread Kevin Burton
Possibly for existing apps… we’re running G1 for everything except Elasticsearch and Cassandra and are pretty happy with it. On Sun, Sep 27, 2015 at 10:28 AM, Graham Sanderson wrote: > IMHO G1 is still buggy on JDK8 (based solely on being subscribed to the > gc-dev mailing