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:
tedyu 2016-08-08 10:39:35 -07:00
parent 50f3c9572c
commit 1ecb0fce34
1 changed files with 1 additions and 1 deletions

View File

@ -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