Permalink
Browse files

Merge branch 'master' of github.com:brianfrankcooper/YCSB

  • Loading branch information...
2 parents 8a3ac3d + ab55f7a commit fa173a26f47bebb0522be084c4ebde63aa1707a0 @brianfrankcooper brianfrankcooper committed Apr 25, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/com/yahoo/ycsb/db/HBaseClient.java
@@ -83,7 +83,13 @@ public void init() throws DBException
*/
public void cleanup() throws DBException
{
-
+ try {
+ if (_hTable != null) {
+ _hTable.flushCommits();
+ }
+ } catch (IOException e) {
+ throw new DBException(e);
+ }
}
public void getHTable(String table) throws IOException

0 comments on commit fa173a2

Please sign in to comment.