HBASE-1629 HRS unable to contact master
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
002e9e8bdc
commit
800f623138
|
@ -249,6 +249,7 @@ Release 0.20.0 - Unreleased
|
|||
(Jon Gray via Stack)
|
||||
HBASE-1625 Adding check to Put.add(KeyValue kv), to see that it has the same
|
||||
row as when instantiated (Erik Holstad via Stack)
|
||||
HBASE-1629 HRS unable to contact master
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -1327,7 +1327,7 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
* Run initialization using parameters passed us by the master.
|
||||
*/
|
||||
private MapWritable reportForDuty() {
|
||||
while (!getMaster()) {
|
||||
while (!stopRequested.get() && !getMaster()) {
|
||||
sleeper.sleep();
|
||||
LOG.warn("Unable to get master for initialization");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue