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:37:40 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 13a1eaec0 -> d6b1d8cbf


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


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

Branch: refs/heads/master
Commit: d6b1d8cbf7e11b51523cd0290243bce9cb22eb79
Parents: 13a1eae
Author: stack <stack@apache.org>
Authored: Wed Dec 3 10:37:32 2014 -0800
Committer: stack <stack@apache.org>
Committed: Wed Dec 3 10:37:32 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/d6b1d8cb/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 01744dd..1c7c69a 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
@@ -2582,9 +2582,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