HBASE-18016 Changes to inherit default behavior of abort from StateMachineProcedure making TruncateTableProcedure abortable

This will allow abort and manual cleanup of stuck instances of TruncateTableProcedure.

Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
Umesh Agashe 2017-05-15 11:39:18 -07:00 committed by Michael Stack
parent 5eb1b7b96c
commit c1b45a2c45
1 changed files with 0 additions and 6 deletions

View File

@ -196,12 +196,6 @@ public class TruncateTableProcedure
return TableOperationType.EDIT; return TableOperationType.EDIT;
} }
@Override
public boolean abort(final MasterProcedureEnv env) {
// TODO: We may be able to abort if the procedure is not started yet.
return false;
}
@Override @Override
public void toStringClassDetails(StringBuilder sb) { public void toStringClassDetails(StringBuilder sb) {
sb.append(getClass().getSimpleName()); sb.append(getClass().getSimpleName());