Re: Cassandra JDBC

2011-11-16 Thread Nilabja Banerjee
Try this it should work.. import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class InsertData { public static void main(String[] args) throws ClassNotFoundException, SQLException{ Cl

Re: Killing cassandra is not working

2011-08-03 Thread Nilabja Banerjee
try to use *grep* command to check the port where your cassandra was running. On 3 August 2011 16:01, CASSANDRA learner wrote: > H,, > > I was running cassandra in my mac and after some time the machine got to > sleep mode. Now after the machine is On. I tried to kill the process of > ca

CORDA Connection with Cassandra

2011-07-28 Thread Nilabja Banerjee
Hi All, I am trying to connect Cassandra with Corda with following detals. *Driver: org.apache.cassandra.cql.jdbc.CassandraDriver URL: jdbc:cassandra:/@localhost:9160/nilabja* *nilabja: keyspace name* I am using no authentication. I am not able to connect itgetting thid following error

Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
Thank you Jonathan.. :) On 26 July 2011 20:08, Jonathan Ellis wrote: > cassandra.db.Caches > > On Tue, Jul 26, 2011 at 2:11 AM, Nilabja Banerjee > wrote: > > Thank you every one it is working fine. > > > > I was watching jconsole behavior...can te

Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
tp://www.thelastpickle.com > > On 26 Jul 2011, at 19:40, CASSANDRA learner wrote: > > Hi,, > I too wanna know what this stress tool do? What is the usage of this > tool... Please explain > > On Fri, Jul 22, 2011 at 6:39 PM, Jonathan Ellis wrote: > >> What do

Re: Stress test using Java-based stress utility

2011-07-22 Thread Nilabja Banerjee
as Kirk says. > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 22 Jul 2011, at 18:37, Kirk True wrote: > > Have you checked the logs on the nodes to see if there are any errors? > >

Stress test using Java-based stress utility

2011-07-21 Thread Nilabja Banerjee
Hi All, I am following this following link " * http://www.datastax.com/docs/0.7/utilities/stress_java *" for a stress test. I am getting this notification after running this command *xxx.xxx.xxx.xx= my ip* *contrib/stress/bin/stress -d xxx.xxx.xxx.xx* *Created keyspaces. Sleeping 1s for propaga

Re: Need help json2sstable

2011-07-21 Thread Nilabja Banerjee
gt; NOTE: key is binary, so thats the ascii encoding for foo > > Cheers > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 21 Jul 2011, at 23:19, Nilabja Banerjee wrote: > > This is the full path o

Re: Memtables stored in which location

2011-07-21 Thread Nilabja Banerjee
*One more thing I want to ask here* ...in the data folder of cassandra, for each columnfamily four type of .db files are generated. for example: CFname-f-1-*Data*.db, CFname-f-1-*Filter*.db, CFname-f-1-*Index*.db, CFname-f-1-*Statistic*.db, *What are these extensions are? *Thank you On 21 July

Re: Need help json2sstable

2011-07-21 Thread Nilabja Banerjee
on > http://www.thelastpickle.com > > On 21 Jul 2011, at 18:50, Nilabja Banerjee wrote: > > Thank you... > but I have already gone through that.. but still not working... I am > getting .. "*You must supply exactly one sstable > * Can you tell me why I am getting t

Re: Cassandra Storage Sizing

2011-07-21 Thread Nilabja Banerjee
Thank you Nice work. On 21 July 2011 15:27, Zhu Han wrote: > Very helpful. Thank you! > > best regards, > Zhu Han > > > > On Thu, Jul 21, 2011 at 12:24 PM, Todd Burruss wrote: > >> I put together a blog post on Cassandra Storage Sizing so I don’t need >> to keep figuring it out again an

Re: Need help json2sstable

2011-07-20 Thread Nilabja Banerjee
: > http://www.datastax.com/docs/0.7/utilities/sstable2json > > On Wed, Jul 20, 2011 at 4:58 AM, Nilabja Banerjee > wrote: > > > > > > > > > > On 20 July 2011 11:33, Nilabja Banerjee > wrote: > >> > >> Hi All, > >> > >> Here Is

Re: Need help json2sstable

2011-07-20 Thread Nilabja Banerjee
On 20 July 2011 11:33, Nilabja Banerjee wrote: > Hi All, > > Here Is my Json structure. > > > {"Fetch_CC" :{ > "cc":{ "":"1000", > ":"ICICI",

Re: Need help json2sstable

2011-07-20 Thread Nilabja Banerjee
Yes.Actually, I was just asking you guys to give me one example with one sample of small json structure. Thank you in advance :) On 20 July 2011 11:53, Sasha Dolgy wrote: > You are missing " after > > On Wed, Jul 20, 2011 at 8:03 AM, Nilabja Banerjee >

Need help json2sstable

2011-07-19 Thread Nilabja Banerjee
Hi All, Here Is my Json structure. {"Fetch_CC" :{ "cc":{ "":"1000", ":"ICICI", "":"", "city":{ "name":"banglore" };

json2sstable & sstable2json

2011-07-19 Thread Nilabja Banerjee
Hi All, Can you please explain me how can I use json2sstable and sstable2json features in cassandra. It will be useful to me if anyone of you explain me with a small example. 1. one small json text file. 2. what will be the keyspace and columnfamily name. 3. Syntax in details. What .db name I have

Key_Cache @ Row_Cache

2011-07-13 Thread Nilabja Banerjee
Hi All, Can you give me a bit idea how key_cache and row_cache effects on performance of cassandra. How these things works in different scenario depending upon the data size? Thank You Nilabja Banerjee