try {
if (rss == null) {
createRegionServerStatusStub();
continue;
}
ReportRegionTransitionResponse response = rss.reportRegionTransition(null, request);
if (response.hasErrorMessage()) {
LOG.info("Failed to transition " + hris[0] + " to " + code + ": "
+ response.getErrorMessage());
return false;
}
return true;
} catch (ServiceException se) {
IOException ioe = ProtobufUtil.getRemoteException(se);