Re: CQL 3 Binary protocol spec mismatch

2013-08-14 Thread Mosfeq Rashid
Thanks for the quick response. This is what I am getting: ... As you see, there is no metadata before the row-count. All the others messages I have tried like create, error, etc. are sending response as expected in the spec. By I am running Ubuntu 13.04 and the binary distribution. -- Mosfeq

Re: CQL 3 Binary protocol spec mismatch

2013-08-14 Thread Tyler Hobbs
Can you provide more details on exactly what's being returned? As far as I know, ResultMessages of type "ROWS" should always start with metadata, and I haven't seen a case where it's missing in 1.2. On Wed, Aug 14, 2013 at 6:05 PM, Mosfeq Rashid wrote: > > The response to the Select query is s

CQL 3 Binary protocol spec mismatch

2013-08-14 Thread Mosfeq Rashid
The response to the Select query is supposed to have metadata before row data is provided. But in case of C* 1.2.5 and 1.2.8, I only get the row data. As far as I understand binary protocol, the message should have all the data to parse it. Does anyone know what I am missing? -- Mosfeq

Re: JNA to activate cassandra row cache

2013-08-14 Thread Jonathan Ellis
I thought that "When installed and configured, Linux does not swap out the JVM" was pretty straightforward. On Wed, Aug 14, 2013 at 2:36 PM, José Elias Queiroga da Costa Araújo wrote: > Hi Michael, > > In my investigation about Cassandra cache, there is an implementation > off-heap provided to Ro

Re: JNA to activate cassandra row cache

2013-08-14 Thread Michael Kjellman
Well- as I said there isn't a reason not to. Licensing issues have even recently been worked out but I forgot about the sun.misc.unsafe work in 1.1+ so thanks Jonathan for correcting me. > On Aug 14, 2013, at 12:36 PM, "José Elias Queiroga da Costa Araújo" > wrote: > > Hi Michael, > > In my

Re: JNA to activate cassandra row cache

2013-08-14 Thread José Elias Queiroga da Costa Araújo
Hi Michael, In my investigation about Cassandra cache, there is an implementation off-heap provided to RowCache, but this implementation is based on ByteBuffer mechanish to allocate native memory using JNI. However, In Datastax Cassandra documentation they say that: "Installing JNA can improve Ca

Re: JNA to activate cassandra row cache

2013-08-14 Thread Jonathan Ellis
We only use JNA for keeping the heap from being swapped out and faster snapshotting. Off-heap allocation does not require JNA. On Wed, Aug 14, 2013 at 2:15 PM, Michael Kjellman wrote: > No- not required, but there is zero reason not to. Keep as much off heap as > possible. > >> On Aug 14, 2013,

Re: JNA to activate cassandra row cache

2013-08-14 Thread Michael Kjellman
No- not required, but there is zero reason not to. Keep as much off heap as possible. > On Aug 14, 2013, at 12:13 PM, "José Elias Queiroga da Costa Araújo" > wrote: > > Hi all, I have a question. > > In order to activate cassandra row cache is necessary to have JNA > installed? > >

Fwd: JNA to activate cassandra row cache

2013-08-14 Thread José Elias Queiroga da Costa Araújo
Hi all, I have a question. In order to activate cassandra row cache is necessary to have JNA installed? Regards, *Elias.*