HBASE-16367 Race between master and region server initialization may lead to premature server abort - addendum shortens the waiting duration
This commit is contained in:
parent
50f3c9572c
commit
1ecb0fce34
|
@ -819,7 +819,7 @@ public class HRegionServer extends HasThread implements
|
||||||
blockAndCheckIfStopped(this.clusterStatusTracker);
|
blockAndCheckIfStopped(this.clusterStatusTracker);
|
||||||
|
|
||||||
if (this.initLatch != null) {
|
if (this.initLatch != null) {
|
||||||
this.initLatch.await(50, TimeUnit.SECONDS);
|
this.initLatch.await(20, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
// Retrieve clusterId
|
// Retrieve clusterId
|
||||||
// Since cluster status is now up
|
// Since cluster status is now up
|
||||||
|
|
Loading…
Reference in New Issue