hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-16367 Race between master and region server initialization may lead to premature server abort - addendum shortens the waiting duration
Date Mon, 08 Aug 2016 17:41:23 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 225383d32 -> 0a1a0a688


HBASE-16367 Race between master and region server initialization may lead to premature server
abort - addendum shortens the waiting duration


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0a1a0a68
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0a1a0a68
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0a1a0a68

Branch: refs/heads/branch-1
Commit: 0a1a0a688363b06e3c085155992a9fb21ec2c506
Parents: 225383d
Author: tedyu <yuzhihong@gmail.com>
Authored: Mon Aug 8 10:41:14 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Mon Aug 8 10:41:14 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0a1a0a68/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index 5643a83..5dda768 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -804,7 +804,7 @@ public class HRegionServer extends HasThread implements
     blockAndCheckIfStopped(this.clusterStatusTracker);
 
     if (this.initLatch != null) {
-      this.initLatch.await(50, TimeUnit.SECONDS);
+      this.initLatch.await(20, TimeUnit.SECONDS);
     }
     // Retrieve clusterId
     // Since cluster status is now up


Mime
View raw message