Step 2. Choose the appropriate DB interface layer
I've met several problems while using your tools to test Cassandra6.4.
Environment:ubuntu 9.10 on virtualbox
I just deployed Cassandra on a single node and followed the steps you listed on wiki.
step2,as you mentioned"You can run commands directly against the database using the included simple command line client".so I just run the command below: java -cp build/ycsb.jar;db/cassandra-0.6/lib/*.jar com.yahoo.ycsb.CommandLine -p hosts=127.0.0.1 -db com.yahoo.ycsb.db.CassandraClient6
I got many errors, one is couldn't load mainclass from thrift.jar. after Modifying the menifest.mf file I met other errors.
could you pls help me?I'm newer to cloud computing including cassandra.
Before step2,I have installed Cassandra on ubuntu，and have build ycsb and cassandra0.6 successfully.
I'm looking forward to a quick start of using YCSB.
thank you very much.
- I suggest using a colon (:) instead of a semicolon (;) when specifying the classpath in the command, e.g. -cp build/ycsb.jar:db/cassndra-0.6/lib... On unix shells, semicolon is a command separator, not a path separator.
Also, I'm not sure you can say "*.jar" in the -cp; the * gets expanded by the shell into a list of files, but they won't be separated by colons. I think instead you need to add each relevant jar explicitly to the classpath.
If that doesn't help, can you please cut and paste the actual output? Seems like a classpath issue but the actual error messages would be helpful.
Also, can you cut and paste the output of "ls -l" in the lib dir, e.g. "ls -l db/cassandra-0.6/lib/*.jar"