private MiniWaspCluster createEntityGroups(String tableName)
throws InterruptedException, ZooKeeperConnectionException, IOException,
KeeperException {
MiniWaspCluster cluster = TEST_UTIL.getWaspCluster();
log("Waiting for active/ready master");
cluster.waitForActiveAndReadyMaster();
zkw = new ZooKeeperWatcher(TEST_UTIL.getConfiguration(),
"testOpenedEntityGroupHandler", null);
// Create a table with entityGroups
byte[] table = Bytes.toBytes(tableName);