Get more detail on undeclared exception thrown...

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-10-12 20:15:50 +00:00
parent 9c67949638
commit c189e8e967
1 changed files with 4 additions and 0 deletions

View File

@ -789,6 +789,10 @@ public class AssignmentManager extends ZooKeeperListener {
} catch (NotServingRegionException e) { } catch (NotServingRegionException e) {
LOG.warn("Attempted to close region " + region.getRegionNameAsString() + LOG.warn("Attempted to close region " + region.getRegionNameAsString() +
" but got an NSRE", e); " but got an NSRE", e);
} catch (Throwable t) {
// For now call abort if unexpected exception -- seeing it up in hudson.
// St.Ack 20101012
this.master.abort("Unexpected exception", t);
} }
} }