hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14290 Spin up less threads in tests
Date Tue, 25 Aug 2015 23:48:48 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 76745a2cb -> 72b7f475c


HBASE-14290 Spin up less threads in tests


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

Branch: refs/heads/branch-1.0
Commit: 72b7f475c4c85d9c3ee12b0eaa6f2ddb596c31ba
Parents: 76745a2
Author: stack <stack@apache.org>
Authored: Tue Aug 25 16:48:37 2015 -0700
Committer: stack <stack@apache.org>
Committed: Tue Aug 25 16:48:37 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java | 2 +-
 hbase-server/src/test/resources/hbase-site.xml               | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/72b7f475/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
index 7ed940e..e201f94 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
@@ -536,7 +536,7 @@ public class RpcServer implements RpcServerInterface {
         readers[i] = reader;
         readPool.execute(reader);
       }
-      LOG.info(getName() + ": started " + readThreads + " reader(s).");
+      LOG.info(getName() + ": started " + readThreads + " reader(s) listening on port=" +
port);
 
       // Register accepts on the server socket with the selector.
       acceptChannel.register(selector, SelectionKey.OP_ACCEPT);

http://git-wip-us.apache.org/repos/asf/hbase/blob/72b7f475/hbase-server/src/test/resources/hbase-site.xml
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/resources/hbase-site.xml b/hbase-server/src/test/resources/hbase-site.xml
index 8c8312c..df8cc32 100644
--- a/hbase-server/src/test/resources/hbase-site.xml
+++ b/hbase-server/src/test/resources/hbase-site.xml
@@ -51,6 +51,14 @@
     <value>5</value>
   </property>
   <property>
+    <name>hbase.regionserver.metahandler.count</name>
+    <value>5</value>
+  </property>
+  <property>
+      <name>hbase.ipc.server.read.threadpool.size</name>
+    <value>3</value>
+  </property>
+  <property>
     <name>hbase.master.info.port</name>
     <value>-1</value>
     <description>The port for the hbase master web UI


Mime
View raw message