HBASE-15215 TestBlockEvictionFromClient is flaky in jdk1.7 build (setting offheap)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/538815d8 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/538815d8 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/538815d8 Branch: refs/heads/hbase-12439 Commit: 538815d82a62cbcc7aaccec0a3bc4e44cb925277 Parents: bf4fcc3 Author: ramkrishna <ramkrishna.s.vasude...@gmail.com> Authored: Fri Feb 26 11:43:00 2016 +0530 Committer: ramkrishna <ramkrishna.s.vasude...@gmail.com> Committed: Fri Feb 26 11:43:00 2016 +0530 ---------------------------------------------------------------------- .../apache/hadoop/hbase/client/TestBlockEvictionFromClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/538815d8/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java index f4d668c..d3f718b 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestBlockEvictionFromClient.java @@ -102,7 +102,7 @@ public class TestBlockEvictionFromClient { // tests conf.setInt("hbase.regionserver.handler.count", 20); conf.setInt("hbase.bucketcache.size", 400); - conf.setStrings("hbase.bucketcache.ioengine", "heap"); + conf.setStrings("hbase.bucketcache.ioengine", "offheap"); conf.setFloat("hfile.block.cache.size", 0.2f); conf.setFloat("hbase.regionserver.global.memstore.size", 0.1f); conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 0);// do not retry