gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1310996 - in /gora/trunk: CHANGES.txt gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
Date Sun, 08 Apr 2012 13:10:09 GMT
Author: lewismc
Date: Sun Apr  8 13:10:09 2012
New Revision: 1310996

URL: http://svn.apache.org/viewvc?rev=1310996&view=rev
Log:
Commit to address GORA-114 and update to CHANGES.txt. Thank you Stack.

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1310996&r1=1310995&r2=1310996&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Sun Apr  8 13:10:09 2012
@@ -6,6 +6,8 @@ Gora Change Log
 
 0.2 Release:
 
+* Make hbase autoflush default to false and make autoflush configurable rather than hardcoded
(stack via lewismc)
+
 * GORA-76 Upgrade to Hadoop 1.0.1 (ferdy & lewismc)
 
 * GORA-65 Initial checkin of gora accumulo datastore (kturner)

Modified: gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java?rev=1310996&r1=1310995&r2=1310996&view=diff
==============================================================================
--- gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java (original)
+++ gora/trunk/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java Sun Apr
 8 13:10:09 2012
@@ -130,7 +130,8 @@ implements Configurable {
       createSchema();
     }
 
-    table = new HBaseTableConnection(getConf(), getSchemaName(), true);
+    boolean autoflush = this.conf.getBoolean("hbase.client.autoflush.default", false);
+    table = new HBaseTableConnection(getConf(), getSchemaName(), autoflush);
   }
 
   @Override



Mime
View raw message