Repository: hbase
Updated Branches:
  refs/heads/0.98 809de6ae1 -> 99acd66a9


HBASE-12270 A bug in the bucket cache, with cache blocks on write enabled (Liu 
Shaohui) -- ADDENDUM


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

Branch: refs/heads/0.98
Commit: 99acd66a95257424f13839effa0d6cf18d34b95f
Parents: 809de6a
Author: stack <[email protected]>
Authored: Tue Dec 30 15:29:57 2014 -0800
Committer: stack <[email protected]>
Committed: Tue Dec 30 15:29:57 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/99acd66a/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 e85bee6..35714b7 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
@@ -223,7 +223,7 @@ public class TestCacheOnWrite {
     cacheConf =
         new CacheConfig(blockCache, true, true, 
cowType.shouldBeCached(BlockType.DATA),
         cowType.shouldBeCached(BlockType.LEAF_INDEX),
-        cowType.shouldBeCached(BlockType.BLOOM_CHUNK), false, 
cacheCompressedData, true, false);
+        cowType.shouldBeCached(BlockType.BLOOM_CHUNK), false, 
cacheCompressedData, true);
   }
 
   @After
@@ -422,7 +422,7 @@ public class TestCacheOnWrite {
     final String cf = "myCF";
     final byte[] cfBytes = Bytes.toBytes(cf);
     final int maxVersions = 3;
-    HRegion region = TEST_UTIL.createTestRegion(table, 
+    HRegion region = TEST_UTIL.createTestRegion(table,
         new HColumnDescriptor(cf)
             .setCompressionType(compress)
             .setBloomFilterType(BLOOM_TYPE)
@@ -433,7 +433,7 @@ public class TestCacheOnWrite {
     long ts = EnvironmentEdgeManager.currentTimeMillis();
     for (int iFile = 0; iFile < 5; ++iFile) {
       for (int iRow = 0; iRow < 500; ++iRow) {
-        String rowStr = "" + (rowIdx * rowIdx * rowIdx) + "row" + iFile + "_" 
+ 
+        String rowStr = "" + (rowIdx * rowIdx * rowIdx) + "row" + iFile + "_" +
             iRow;
         Put p = new Put(Bytes.toBytes(rowStr));
         ++rowIdx;

Reply via email to