HBASE-3687 Bulk assign on startup should handle a ServerNotRunningException; FIX PROB. FOUND BY TED YU
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1084369 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1fcc65b19
commit
cf74e10e31
|
@ -933,6 +933,7 @@ public class AssignmentManager extends ZooKeeperListener {
|
||||||
while (!this.master.isStopped()) {
|
while (!this.master.isStopped()) {
|
||||||
try {
|
try {
|
||||||
this.serverManager.sendRegionOpen(destination, regions);
|
this.serverManager.sendRegionOpen(destination, regions);
|
||||||
|
break;
|
||||||
} catch (org.apache.hadoop.hbase.ipc.ServerNotRunningException e) {
|
} catch (org.apache.hadoop.hbase.ipc.ServerNotRunningException e) {
|
||||||
// This is the one exception to retry. For all else we should just fail
|
// This is the one exception to retry. For all else we should just fail
|
||||||
// the startup.
|
// the startup.
|
||||||
|
|
Loading…
Reference in New Issue