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-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of org.apache.hadoop.hbase.MiniHBaseCluster
Date Wed, 03 Dec 2014 18:38:22 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 6b8a72519 -> e73e741b5


HBASE-12617 Running IntegrationTestBigLinkedList against cluster getting not an instance of
org.apache.hadoop.hbase.MiniHBaseCluster

(cherry picked from commit d6b1d8cbf7e11b51523cd0290243bce9cb22eb79)


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

Branch: refs/heads/branch-1
Commit: e73e741b5cb8292e7bf474f87a0d529205caf575
Parents: 6b8a725
Author: stack <stack@apache.org>
Authored: Wed Dec 3 10:37:32 2014 -0800
Committer: stack <stack@apache.org>
Committed: Wed Dec 3 10:38:00 2014 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e73e741b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
index 393c314..6e48466 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
@@ -2491,9 +2491,6 @@ public class HBaseTestingUtility extends HBaseCommonTestingUtility {
    */
   public Connection getConnection() throws IOException {
     if (this.connection == null) {
-      if (getMiniHBaseCluster() == null) {
-        throw new IllegalStateException("You cannot have a Connection if cluster is not up");
-      }
       this.connection = ConnectionFactory.createConnection(this.conf);
     }
     return this.connection;


Mime
View raw message