Repository: hbase
Updated Branches:
  refs/heads/branch-1 b09c4fead -> 3862b30a4


HBASE-13084 addendum disable info server in shell test

Signed-off-by: stack <[email protected]>


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

Branch: refs/heads/branch-1
Commit: 3862b30a479fe6d30301dc27c9d3fa973c3f90c1
Parents: b09c4fe
Author: zhangduo <[email protected]>
Authored: Sat Feb 28 11:21:03 2015 +0800
Committer: stack <[email protected]>
Committed: Fri Feb 27 19:59:33 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/AbstractTestShell.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3862b30a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
----------------------------------------------------------------------
diff --git 
a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
 
b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
index f75cea3..24d07ed 100644
--- 
a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
+++ 
b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
@@ -43,6 +43,8 @@ public abstract class AbstractTestShell {
     
TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 6);
     
TEST_UTIL.getConfiguration().setBoolean(CoprocessorHost.ABORT_ON_ERROR_KEY, 
false);
     TEST_UTIL.getConfiguration().setInt("hfile.format.version", 3);
+    TEST_UTIL.getConfiguration().setInt(HConstants.MASTER_INFO_PORT, -1);
+    TEST_UTIL.getConfiguration().setInt(HConstants.REGIONSERVER_INFO_PORT, -1);
     // Security setup configuration
     SecureTestUtil.enableSecurity(TEST_UTIL.getConfiguration());
     VisibilityTestUtil.enableVisiblityLabels(TEST_UTIL.getConfiguration());

Reply via email to