Async Thift batch mutate operation

2011-12-29 Thread Mayank Mishra
Hi, I am working on Cassandra 1.0.2 and thrift 0.6.1. I was trying to use Async thrift libary to perform batch mutate operation on Cassandra. I tried Cassandra server with both Sync and Async RPC server mode. While the insert operation works like charm, batch mutate fails to write even a single r

Re: setting consistency level

2011-03-08 Thread Mayank Mishra
Sagar, Consistency level defines how your reads and writes should work. You can defer it according to your needs, defines what are your expectations when you are reading/writing data. Hence, they are not static to Keyspace/CF metadata. With regards, Mayank On 08-03-2011 13:15, Sagar Kohli w

Re: ColumnFamilyRecordWriter

2011-03-01 Thread Mayank Mishra
ough I'm not the one making that decision. On Feb 28, 2011, at 4:10 AM, Mayank Mishra wrote: Hi all, As I was integrating Hadoop with Cassandra, I wanted to serialize mutations, hence I used thrift mutations in M/R jobs. During the course, I came to know that CFRW considers only Avro mutat

ColumnFamilyRecordWriter

2011-02-28 Thread Mayank Mishra
Hi all, As I was integrating Hadoop with Cassandra, I wanted to serialize mutations, hence I used thrift mutations in M/R jobs. During the course, I came to know that CFRW considers only Avro mutations. Can someone please explain me why only avro transport is entertained by CFRW. Why not, bo

Unable to integrate Cassandra with Hadoop

2010-12-30 Thread Mayank Mishra
Hi, I am trying to integrate Cassandra with Hadoop. I tried with Cassandra 0.7 rc3 trunk, but failed to do so with following exception, *java.lang.ClassCastException: [B cannot be cast to java.nio.ByteBuffer at org.apache.cassandra.db.marshal.BytesType.compare(BytesType.java:29)* I tried