cleanUpCluster();
}
public void setUpMonkey() throws Exception {
util = getTestingUtil(getConf());
MonkeyFactory fact = MonkeyFactory.getFactory(monkeyToUse);
if (fact == null) {
// Run with no monkey in distributed context, with real monkey in local test context.
fact = MonkeyFactory.getFactory(
util.isDistributedCluster() ? MonkeyFactory.CALM : MonkeyFactory.SLOW_DETERMINISTIC);
}
monkey = fact.setUtil(util)
.setTableName(getTablename())
.setColumnFamilies(getColumnFamilies()).build();
monkey.start();
}