@Before public void ensureCleanTables() throws Exception { setupConfigIfNeeded(); Iface client = Config.getClient(); List<String> tableList = client.tableList(); if (!tableList.isEmpty()) { for (String table : tableList) { client.disableTable(table); client.removeTable(table, true); } } }