You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2015/09/30 01:19:43 UTC

hbase git commit: HBASE-14513 TestBucketCache runs obnoxious 1k threads in a unit test

Repository: hbase
Updated Branches:
  refs/heads/master e0929bbc5 -> c04d18970


HBASE-14513 TestBucketCache runs obnoxious 1k threads in a unit test


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

Branch: refs/heads/master
Commit: c04d18970e066c1c5879a7ac1d261ef69cae5c3e
Parents: e0929bb
Author: stack <st...@apache.org>
Authored: Tue Sep 29 16:19:34 2015 -0700
Committer: stack <st...@apache.org>
Committed: Tue Sep 29 16:19:34 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c04d1897/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java
index 99f5657..70d21dd 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java
@@ -75,7 +75,7 @@ public class TestBucketCache {
   final int CACHE_SIZE = 1000000;
   final int NUM_BLOCKS = 100;
   final int BLOCK_SIZE = CACHE_SIZE / NUM_BLOCKS;
-  final int NUM_THREADS = 1000;
+  final int NUM_THREADS = 100;
   final int NUM_QUERIES = 10000;
 
   final long capacitySize = 32 * 1024 * 1024;