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

This commit is contained in:
stack 2014-12-03 10:37:32 -08:00
parent 13a1eaec09
commit d6b1d8cbf7
1 changed files with 0 additions and 3 deletions

View File

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