I figured that out: I should have used the link provided in
"Prerequisite Software Packages" for the Cassandra 0.7.3.
A small comment for future user: Under installing cassandra, we need to
get the source package for Cassandra 0.7.3 from the Cassandra website to
build. Newest Cassandra like 1.2.5 doesn't seem to work.
On 6/7/13 12:21 PM, Binh Q. Pham wrote:
Hi all,
I followed the installation instruction to set up Data Serving benchmark. After
downloading and unpacking Cassandra 0.7.3, I saw that it got unpacked to the
same folder as YCSB. I don't know if this is a mistake during packing up the
benchmark.
Anyway, I decided to move on to see what happens. The next step is copying the
jar files from Cassandra folder (in this case it's YCSB) to
YCSB/db/cassandra-0.7/lib: OK, done.
While doing 'ant dbcompile-cassandra-0.7', I got the following error:
ant dbcompile-cassandra-0.7
Buildfile: build.xml
compile:
makejar:
dbcompile-cassandra-0.7:
dbcompile:
[javac] Compiling 1 source file to
/flex/bpham/data_serving/YCSB/build/classes
[javac]
/flex/bpham/data_serving/YCSB/db/cassandra-0.7/src/com/yahoo/ycsb/db/CassandraClient7.java:33:
package org.apache.thrift.transport does not exist
[javac] import org.apache.thrift.transport.TTransport;
[javac] ^
[javac]
/flex/bpham/data_serving/YCSB/db/cassandra-0.7/src/com/yahoo/ycsb/db/CassandraClient7.java:34:
package org.apache.thrift.transport does not exist
[javac] import org.apache.thrift.transport.TFramedTransport;
[javac] ^
[javac]
/flex/bpham/data_serving/YCSB/db/cassandra-0.7/src/com/yahoo/ycsb/db/CassandraClient7.java:35:
package org.apache.thrift.transport does not exist
[javac] import org.apache.thrift.transport.TSocket;
It's a bit strange as I searched through the mailing list but haven't seen
anyone having this problem before. So I am really appreciate if people can tell
what I have done wrong here.
Thank you for your help!