HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION

This commit is contained in:
Andrew Purtell 2017-02-08 16:04:47 -08:00
parent 52c51fc271
commit e4ee7ee891
1 changed files with 5 additions and 1 deletions

View File

@ -2048,7 +2048,11 @@ public final class ProtobufUtil {
user.getUGI().doAs(new PrivilegedExceptionAction<Void>() {
@Override
public Void run() throws Exception {
admin.mergeRegions(controller, request);
try {
admin.mergeRegions(controller, request);
} catch (ServiceException se) {
throw ProtobufUtil.getRemoteException(se);
}
return null;
}
});