Skip to content

Commit

Permalink
Make YCSB work against HBase 0.98.1 on CDH5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Buss committed Aug 12, 2014
1 parent 5659fc5 commit cfc036a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<dependencies>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<artifactId>hbase-client</artifactId>
<version>${hbase.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>1.0.0</version>
<artifactId>hadoop-client</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.yahoo.ycsb</groupId>
Expand Down
2 changes: 1 addition & 1 deletion hbase/src/main/java/com/yahoo/ycsb/db/HBaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void getHTable(String table) throws IOException
{
synchronized (tableLock) {
_hTable = new HTable(config, table);
//2 suggestions from http://ryantwopointoh.blogspot.com/2009/01/performance-of-hbase-importing.html
//2 suggestions from http://ryantwopointoh.blogspot.com/2009/01/performance-ofhadoop.hbase-importing.html
_hTable.setAutoFlush(false);
_hTable.setWriteBufferSize(1024*1024*12);
//return hTable;
Expand Down
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<!-- Properties Management -->
<properties>
<maven.assembly.version>2.2.1</maven.assembly.version>
<hbase.version>0.92.1</hbase.version>
<hbase.version>0.98.1-hadoop2</hbase.version>
<accumulo.version>1.6.0</accumulo.version>
<cassandra.version>0.7.0</cassandra.version>
<infinispan.version>7.1.0.CR1</infinispan.version>
Expand All @@ -61,22 +61,22 @@

<modules>
<!--module>build-tools</module-->
<module>cassandra</module>
<!--<module>cassandra</module>-->
<module>core</module>
<module>hbase</module>
<module>hypertable</module>
<module>accumulo</module>
<module>dynamodb</module>
<module>elasticsearch</module>
<!--<module>hypertable</module>-->
<!--<module>accumulo</module>-->
<!--<module>dynamodb</module>-->
<!--<module>elasticsearch</module>-->
<!--<module>gemfire</module>-->
<module>infinispan</module>
<!--<module>infinispan</module>-->
<module>jdbc</module>
<module>mapkeeper</module>
<module>mongodb</module>
<module>orientdb</module>
<!--<module>mapkeeper</module>-->
<!--<module>mongodb</module>-->
<!--<module>orientdb</module>-->
<!--module>nosqldb</module-->
<module>redis</module>
<module>voldemort</module>
<!--<module>redis</module>-->
<!--<module>voldemort</module>-->
<module>distribution</module>
</modules>

Expand Down

0 comments on commit cfc036a

Please sign in to comment.