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

(cherry picked from commit d6b1d8cbf7)
This commit is contained in:
stack 2014-12-03 10:37:32 -08:00
parent 6b8a725191
commit e73e741b5c
1 changed files with 0 additions and 3 deletions

View File

@ -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;