for (String tableName : ((DropTablePlan) executePlan).getTableNames()) {
byte[] byteName = Bytes.toBytes(tableName);
if (this.connection.isTableDisabled(byteName)) {
MasterAdminProtos.DeleteTableRequest request = RequestConverter
.buildDeleteTableRequest(byteName);
responses.add(masterAdminKeepAliveConnection.deleteTable(null,
request));
} else {
throw new TableNotDisabledException(tableName);
}
}