Re: Secondary Index Storage

2013-08-23 Thread Dave Brosius
the location is loaded from the cassandra.yaml, specifically the entry data_file_directories This is loaded into the class Config.java using 3rdparty library snakeyaml On 08/23/2013 06:34 AM, Nipuni Piyabasi Perera wrote: Hi, Ok, so if I want to make it separate and test, where should I

Re: Secondary Index Storage

2013-08-23 Thread Nipuni Piyabasi Perera
Hi, Ok, so if I want to make it separate and test, where should I refer? From where the keyspace refer to the location "/var/lib/cassandra/data". I have debug the code, and could see some variables (e.g jdk location etc) can be accessed from : System.getProperty(""); But this does not contain th

Re: Cassandra project set up error

2013-08-23 Thread Dave Brosius
Yeah, there's a problem when running c* in IDEs, it doesn't find the version to send down to the client. You can edit the cqlsh file to remove the version parsing at File "./cqlsh", line 580, in get_connection_versions self.cass_ver_tuple = tuple(map(int, vers['build'].split('-', 1)[0].spli

Re: Cassandra project set up error

2013-08-23 Thread Nipuni Piyabasi Perera
Hi, I am trying to run Cassandra configuration I have set up in IDEA and connect to it. When I run the "CassandraDaemon" and try to connect using command ./cqlsh, it gives the following error in the terminal: Traceback (most recent call last): File "./cqlsh", line 2027, in main(*read_optio