throw new IllegalStateException("Hadoop expects default umask " +
"to be 022, seems like your system has a different one", e);
}
MiniHBaseCluster cluster = testUtil.getHBaseCluster();
log.info("Waiting for active/ready HBase master");
cluster.waitForActiveAndReadyMaster();
// Cache zoo keeper port for cache store configuration
zooKeeperPort = testUtil.getConfiguration()
.getInt(HConstants.ZOOKEEPER_CLIENT_PORT, -1);
} catch (Exception e) {
throw new RuntimeException("Unable to start HBase cluster", e);