this.conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER_KEY, retries);
// Note that this is done before we create the MiniHBaseCluster because we
// need to edit the config to add the ZooKeeper servers.
MiniZooKeeperCluster zooKeeperCluster = new MiniZooKeeperCluster();
int clientPort =
zooKeeperCluster.startup(new java.io.File(this.testDir.toString()));
conf.set("hbase.zookeeper.property.clientPort",
Integer.toString(clientPort));
MiniHBaseCluster cluster = new MiniHBaseCluster(this.conf, 1);
try {
HBaseAdmin hb = new HBaseAdmin(this.conf);