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:41:14 -07:00
parent 225383d321
commit 0a1a0a6883
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,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