2 problems running Cassandra as a developper

2009-11-14 Thread Paul Sabou
Hi, I'am new to Cassandra. I'am trying to run it in Eclipse and I seems to fail because some trivial reasons. I have an Ubuntu 9.04 and I use MyEclipse. I have checked out Cassandra from SVN and after I have installed thrift I could run the nosetests script succesfully. I have imported the

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
It's not a maven project. It just has a pom.xml to help other project that do use maven and want cassandra as a dependency. Looks like importing it as a maven project results in an incomplete build. On Sat, Nov 14, 2009 at 6:01 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, I'am new to

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
first just get it working: ant; bin/cassandra -f the EOF during recovery looks like you are trying to run trunk against 0.4 commitlog files, which doesn't work (flush the 0.4 install first to clean out commit logs) On Sat, Nov 14, 2009 at 8:10 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi,

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Paul Sabou
Hi, Thank you for your quick answer. Now it works. You are perfectly right. On Sat, Nov 14, 2009 at 3:23 PM, Jonathan Ellis jbel...@gmail.com wrote: first just get it working: ant; bin/cassandra -f the EOF during recovery looks like you are trying to run trunk against 0.4 commitlog files,

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Michael Greene
What can I do to run the tests? `ant test` will run the unit tests ant gen-thrift-py nosetests will run the system tests if you have python and nose available Michael

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
ant test nosetests On Sat, Nov 14, 2009 at 9:12 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, Thank you for your quick answer. Now it works. You are perfectly right. On Sat, Nov 14, 2009 at 3:23 PM, Jonathan Ellis jbel...@gmail.com wrote: first just get it working: ant; bin/cassandra -f

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
More here: http://wiki.apache.org/cassandra/HowToContribute On Sat, Nov 14, 2009 at 9:43 AM, Jonathan Ellis jbel...@gmail.com wrote: ant test nosetests On Sat, Nov 14, 2009 at 9:12 AM, Paul Sabou paul.sa...@gmail.com wrote: Hi, Thank you for your quick answer. Now it works. You are

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Paul Sabou
Hi, Thank you for the advice. The project can be build with ant build OK The project can be cleaned with ant clean OK But when I run : ant clean ant test I still get a bunch of test failures. The ant test outuput is below : - Buildfile: build.xml

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Michael Greene
They pass for me too. Here is a good sample to pull out: [junit] [junit] Testcase: testSameCFs(org.apache.cassandra.db.MultitableTest): Caused an ERROR [junit] null [junit] java.lang.NullPointerException [junit] at

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Paul Sabou
You are right. I have donea new svn chekout of the trunk and all the test run smothly. Thank you for your assistance. Sorry for bothering you with such trivial things. On Sat, Nov 14, 2009 at 5:29 PM, Michael Greene michael.gre...@gmail.comwrote: They pass for me too. Here is a good sample to