Cassandra project set up error

2013-08-22 Thread Nipuni Piyabasi Perera
Hi, I am trying build Cassandra as an Idea project. following guide [1]. But when creating the RUN configuration. I have to add several dependencies externally (hadoop, pig). But still there is an error in the class. org.apache.cassandra.hadoop.AbstractColumnFamilyRecordWriter error is : org.ap

Re: Cassandra project set up error

2013-08-22 Thread Nipuni Piyabasi Perera
I can't find "storage-conf.xml" file. If "cassandra.yaml" is used instead, how should I set the configuration?. Thanks, Nipuni On Thu, Aug 22, 2013 at 2:05 PM, Nipuni Piyabasi Perera < nipuni880...@gmail.com> wrote: > Hi, > > I am trying build Cassandra as an Idea project. following guide [1].

Re: Cassandra project set up error

2013-08-22 Thread J.B. Langston
I have found the easiest way to get Cassandra to build under IDEA is to use ant to generate the eclipse project files (see http://wiki.apache.org/cassandra/RunningCassandraInEclipse) and then import those into IDEA. Setting it up in IDEA directly is an error-prone manual process with way too m

Re: Cassandra project set up error

2013-08-22 Thread Nipuni Piyabasi Perera
Hi, I could build via generating eclipse files without adding any external jars. But the error was due to class path to cassandra.yaml file. It worked when added "file:" at the beginning of the path name. Now I am getting the following error. ERROR 00:00:09 Fatal exception during initialization

Re: Cassandra project set up error

2013-08-22 Thread Nipuni Piyabasi Perera
Hi, This is fixed after deleting files in the system keysapce. Thanks, Nipuni On Fri, Aug 23, 2013 at 5:33 AM, Nipuni Piyabasi Perera < nipuni880...@gmail.com> wrote: > Hi, > > I could build via generating eclipse files without adding any external > jars. But the error was due to class path to

Secondary Index Storage

2013-08-22 Thread Nipuni Piyabasi Perera
Hi, I need to do a secondary index access improvement with a little modification to Cassandra. I could see in [1], that the performance of secondary index querying can be increased via splitting the column family data and secondary index data. Currently Cassandra saves keyspace data and secondary

Re: Secondary Index Storage

2013-08-22 Thread Jonathan Ellis
You can already symlink the index directory anywhere you like. I'm not convinced that special-casing indexes is a good approach in general vs looking at performance of all tables. On Thu, Aug 22, 2013 at 8:16 PM, Nipuni Piyabasi Perera < nipuni880...@gmail.com> wrote: > Hi, > > I need to do a s

Re: Secondary Index Storage

2013-08-22 Thread Jonathan Ellis
Sorry, Aleksey pointed out that the index directory isn't separate from the "parent" table. Probably so that we can snapshot them both together, which is why the separate config in .yaml doesn't make sense either. On Thu, Aug 22, 2013 at 11:07 PM, Jonathan Ellis wrote: > You can already symlin