HBASE-1440 master won't go down because joined on a rootscanner that is waiting for ever
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@776451 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef23636954
commit
ba2d19938c
|
@ -978,7 +978,8 @@ class RegionManager implements HConstants {
|
||||||
// regionServerReport message from the HRegionServer that has been
|
// regionServerReport message from the HRegionServer that has been
|
||||||
// allocated the ROOT region below.
|
// allocated the ROOT region below.
|
||||||
try {
|
try {
|
||||||
rootRegionLocation.wait();
|
// Cycle rather than hold here in case master is closed meantime.
|
||||||
|
rootRegionLocation.wait(this.master.threadWakeFrequency);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
// continue
|
// continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue