hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-12191 Make TestCacheOnWrite faster.
Date Tue, 07 Oct 2014 20:14:37 GMT
Repository: hbase
Updated Branches:
  refs/heads/master e1b69bd54 -> 7546f9a4d


HBASE-12191 Make TestCacheOnWrite faster.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7546f9a4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7546f9a4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7546f9a4

Branch: refs/heads/master
Commit: 7546f9a4d9be7b0cc3e013b29da9c2536d124c47
Parents: e1b69bd
Author: stack <stack@apache.org>
Authored: Tue Oct 7 13:14:23 2014 -0700
Committer: stack <stack@apache.org>
Committed: Tue Oct 7 13:14:23 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7546f9a4/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
index fbbccf2..d3d8159 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
@@ -42,6 +42,7 @@ import org.apache.hadoop.hbase.HColumnDescriptor;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.Tag;
+import org.apache.hadoop.hbase.client.Durability;
 import org.apache.hadoop.hbase.client.Put;
 import org.apache.hadoop.hbase.fs.HFileSystem;
 import org.apache.hadoop.hbase.io.compress.Compression;
@@ -429,6 +430,7 @@ public class TestCacheOnWrite {
             }
           }
         }
+        p.setDurability(Durability.ASYNC_WAL);
         region.put(p);
       }
       region.flushcache();


Mime
View raw message