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: connect to cassandra using java

2010-09-07 Thread Peter Harrison
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 the following code, I get following exception ; u

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 t

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 t