HBASE-9344 RegionServer not shutting down upon KeeperException in open region
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1517956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8ad729333
commit
d6c13b39c2
|
@ -330,6 +330,9 @@ public class OpenRegionHandler extends EventHandler {
|
||||||
try {
|
try {
|
||||||
this.services.postOpenDeployTasks(this.region,
|
this.services.postOpenDeployTasks(this.region,
|
||||||
this.server.getCatalogTracker());
|
this.server.getCatalogTracker());
|
||||||
|
} catch (KeeperException e) {
|
||||||
|
server.abort("Exception running postOpenDeployTasks; region=" +
|
||||||
|
this.region.getRegionInfo().getEncodedName(), e);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.warn("Exception running postOpenDeployTasks; region=" +
|
LOG.warn("Exception running postOpenDeployTasks; region=" +
|
||||||
this.region.getRegionInfo().getEncodedName(), e);
|
this.region.getRegionInfo().getEncodedName(), e);
|
||||||
|
|
Loading…
Reference in New Issue