HBASE-21271 [amv2] Don't throw UnsupportedOperationException when rollback called on Assign/Unassign; spiral of death

This commit is contained in:
Michael Stack 2018-10-04 16:03:39 -07:00
parent 9a3b7f16f9
commit c96ecbde67
No known key found for this signature in database
GPG Key ID: 9816C7FC8ACC93D2
1 changed files with 3 additions and 3 deletions

View File

@ -424,9 +424,9 @@ public abstract class RegionTransitionProcedure
// There is no rollback for assignment unless we cancel the operation by
// dropping/disabling the table.
throw new UnsupportedOperationException("Unhandled state " + transitionState +
"; there is no rollback for assignment unless we cancel the operation by " +
"dropping/disabling the table");
LOG.warn("Unhandled state {}; no rollback for assignment! Doing NOTHING!" +
" May need manual intervention. TODO: IS THIS WORKING? {}",
transitionState, this);
}
protected abstract boolean isRollbackSupported(final RegionTransitionState state);