diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..29d348d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +build +.classpath +.project +.settings +db/cassandra-0.5/lib +db/cassandra-0.6/lib +db/hbase/lib diff --git a/build.xml b/build.xml index 2cdc62ef..4c68f6f8 100644 --- a/build.xml +++ b/build.xml @@ -3,27 +3,27 @@ - - - + + + + + + + + + + + + + + - - - - - - - - - - - - + @@ -31,28 +31,23 @@ - - - - - - - - - - - - + + + + + + + + - - - - + + + diff --git a/src/com/yahoo/ycsb/db/CassandraClient5.java b/db/cassandra-0.5/src/com/yahoo/ycsb/db/CassandraClient5.java similarity index 100% rename from src/com/yahoo/ycsb/db/CassandraClient5.java rename to db/cassandra-0.5/src/com/yahoo/ycsb/db/CassandraClient5.java diff --git a/src/com/yahoo/ycsb/db/CassandraClient.java b/db/cassandra-0.6/src/com/yahoo/ycsb/db/CassandraClient6.java similarity index 99% rename from src/com/yahoo/ycsb/db/CassandraClient.java rename to db/cassandra-0.6/src/com/yahoo/ycsb/db/CassandraClient6.java index 3a358af4..e224b22b 100644 --- a/src/com/yahoo/ycsb/db/CassandraClient.java +++ b/db/cassandra-0.6/src/com/yahoo/ycsb/db/CassandraClient6.java @@ -36,7 +36,7 @@ import org.apache.cassandra.thrift.*; /** * XXXX if we do replication, fix the consistency levels */ -public class CassandraClient extends DB +public class CassandraClient6 extends DB { static Random random=new Random(); public static final int Ok=0; @@ -422,7 +422,7 @@ public class CassandraClient extends DB public static void main(String[] args) { - CassandraClient cli=new CassandraClient(); + CassandraClient6 cli=new CassandraClient6(); Properties props=new Properties(); diff --git a/src/com/yahoo/ycsb/db/conf/hbase-site.xml b/db/hbase/conf/hbase-site.xml similarity index 100% rename from src/com/yahoo/ycsb/db/conf/hbase-site.xml rename to db/hbase/conf/hbase-site.xml diff --git a/src/com/yahoo/ycsb/db/hbaselib/README b/db/hbase/lib/README similarity index 100% rename from src/com/yahoo/ycsb/db/hbaselib/README rename to db/hbase/lib/README diff --git a/src/com/yahoo/ycsb/db/HBaseClient.java b/db/hbase/src/com/yahoo/ycsb/db/HBaseClient.java similarity index 100% rename from src/com/yahoo/ycsb/db/HBaseClient.java rename to db/hbase/src/com/yahoo/ycsb/db/HBaseClient.java diff --git a/src/com/yahoo/ycsb/db/cassandralib/README b/src/com/yahoo/ycsb/db/cassandralib/README deleted file mode 100644 index e6e6e185..00000000 --- a/src/com/yahoo/ycsb/db/cassandralib/README +++ /dev/null @@ -1 +0,0 @@ -This directory should contain jars for building and running Cassandra