Re: Getting client only example to work

2010-09-16 Thread Asif Jan
earlier this week when I tried using it. It needs some fixes to keep up with all the 0.7 changes. Gary. On Thu, Sep 16, 2010 at 05:48, Asif Jan wrote: Hi I am using 0.7.0-beta1 , and trying to get the contrib/client_only example to work. I am running cassandra on host1, and trying to access it

Getting client only example to work

2010-09-16 Thread Asif Jan
Hi I am using 0.7.0-beta1 , and trying to get the contrib/client_only example to work. I am running cassandra on host1, and trying to access it from host2. When using thirft (via cassandra-cli) and in my application; I am able to connect and do all operations as expected. But I am not a

Re: Cassandra & Pig

2010-09-13 Thread Asif Jan
Hi did you register cassandra jars with Pig. This seems like a class loading problem. aj On Sep 10, 2010, at 3:38 AM, Mark wrote: Does anyone know of any good tutorials for using Pig with Cassandra? I am trying do a basic load: rows = LOAD 'cassandra://Foo/Bar' USING CassandraStorage();

Re: connect to cassandra using java

2010-09-08 Thread Asif Jan
On Sep 7, 2010, at 8:58 PM, Peter Harrison wrote: On Wed, Sep 8, 2010 at 3:20 AM, Asif Jan wrote: Hi I need to use the low level java API in order to test bulk ingestion to cassandra. I have already looked at the code in contrib/bmt_example and contrib/client_only. When I try and run

Re: connect to cassandra using java

2010-09-08 Thread Asif Jan
Thanks once I am using cli script, it is able to connect to the local server and see all keyspaces etc. Do I still need to load schemas when using the same local server ? Asif On Sep 7, 2010, at 8:58 PM, Peter Harrison wrote: On Wed, Sep 8, 2010 at 3:20 AM, Asif Jan wrote: Hi I need

connect to cassandra using java

2010-09-07 Thread Asif Jan
Hi I need to use the low level java API in order to test bulk ingestion to cassandra. I have already looked at the code in contrib/ bmt_example and contrib/client_only. When I try and run the following code, I get following exception ; using cassandra-cli I am able to see the "Keyspace1

Re: timeout when insert an indexed column

2010-09-07 Thread Asif Jan
On Sep 7, 2010, at 11:05 AM, Ying Tang wrote: Sorry , i didn't put it clearly. The app throws out the TimeoutException , but the cassandra throws out the ArrayIndexOutOfBoundsException. And if i shortened this key's length,such as one letter , the indexed column insert is successful. But if