Re: overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-19 Thread Jonathan Mischo
+10 on moving to YAML for config files, as it's FAR more legible On Nov 16, 2009, at 9:54 AM, Jonathan Ellis wrote: 2009/11/16 Ted Zlatanov : - allow a prefix here, e.g. /usr/local/cassandra instead of the default /var -1 on this, I think it makes it too easy to shoot yourself in the foot

Re: overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-16 Thread Anthony Molinaro
Hi, If you are thinking about config file changes I'd like to request some sort of inclusion mechanism. For instance, if you could had 2 keyspaces which you want to deploy on separate clusters in production but allow developers to install simultaneously on their development box, it would be gr

Re: overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-16 Thread Jonathan Ellis
2009/11/16 Ted Zlatanov : > - allow a prefix here, e.g. /usr/local/cassandra instead of the default /var -1 on this, I think it makes it too easy to shoot yourself in the foot. > - allow passing the prefix and any of the directories from the command >  line -1 on this too; we've already made it

RE: overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-16 Thread Coe, Robin
2009 10:28 AM To: cassandra-dev@incubator.apache.org Subject: overriding directories from command line (was: 2 problems running Cassandra as a developper) The default config file has: /var/lib/cassandra/commitlog /var/lib/cassandra/data /var/lib/cassandra/callouts /var/lib

overriding directories from command line (was: 2 problems running Cassandra as a developper)

2009-11-16 Thread Ted Zlatanov
The default config file has: /var/lib/cassandra/commitlog /var/lib/cassandra/data /var/lib/cassandra/callouts /var/lib/cassandra/bootstrap /var/lib/cassandra/staging I'm wondering if it would make sense to: - allow a prefix here, e.g. /usr/local/cassandra instead of the de

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 wrote: > They pass for me too. Here is a good sample to pull out: > > [junit] >

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 org.apache.cassandra.config.DatabaseDescriptor.getComparator(DatabaseDescriptor.ja

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Jonathan Ellis
I don't know what is wrong with your setup. svn trunk tests pass for me and for hudson: http://hudson.zones.apache.org/hudson/job/Cassandra/ On Sat, Nov 14, 2009 at 10:05 AM, Paul Sabou wrote: > Hi, > > Thank you for the advice. > The project can be build with "ant build" OK > The project can be

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 build-s

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 wrote: > ant test > nosetests > > On Sat, Nov 14, 2009 at 9:12 AM, Paul Sabou wrote: >> Hi, >> >> Thank you for your quick answer. Now it works. You are perfectly right. >> >> On Sat, Nov

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 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 wrote: > >> first just get it working: ant; bin/cassandra -f >> >> the EOF during recovery l

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 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 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, which doesn't w

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 wrote: > Hi, > > Thank you for the ad

Re: 2 problems running Cassandra as a developper

2009-11-14 Thread Paul Sabou
Hi, Thank you for the advice. I have reimported the Eclipse project as a standard JAVA project and builded it again with ant and both problems still persist. In the first case (not beeing able to run from main) it seems that it is missing some files from where it want to deserialise something (I

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 wrote: > Hi, > > I'am new to Cassandra. I'am trying

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 trunk