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 many steps, and some of the instructions refer to things that have moved or changed names in the latest version of IDEA.
On Aug 22, 2013, at 6:00 AM, Nipuni Piyabasi Perera <nipuni880...@gmail.com> wrote: > 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]. 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<K, Y> >> >> error is : >> >> org.apache.hadoop.mapreduce.RecordWriter' clashes with 'write(K, V)' in >> 'org.apache.hadoop.mapred.RecordWriter'; overridden method does not throw >> 'java.lang.InterruptedException' >> >> Even with the error I could run the application, which then it gives a >> configuration error as follows: >> >> ERROR 08:28:04 Fatal configuration error >> org.apache.cassandra.exceptions.ConfigurationException: Cannot locate >> /home/nipuni/Desktop/Cassendra/Cassendra_code/cassandra-trunk/conf/cassandra.yaml >> >> Is there any other documentation to set up Cassandra. >> >> [1] http://wiki.apache.org/cassandra/RunningCassandraInIDEA >> >> >> Thanks, >> Nipuni >> -- >> Nipuni Piyabasi Perera >> Undergraduate >> Department of Computer Science And Engineering >> University of Moratuwa >> Sri Lanka >> > > > > -- > Nipuni Piyabasi Perera > Undergraduate > Department of Computer Science And Engineering > University of Moratuwa > Sri Lanka