hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13937 Partially revert HBASE-13172
Date Tue, 23 Jun 2015 17:50:00 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 7d778e892 -> 0271afc1b


HBASE-13937 Partially revert HBASE-13172


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

Branch: refs/heads/branch-1
Commit: 0271afc1b7558c85c293675b25ff77d405f39a37
Parents: 7d778e8
Author: Enis Soztutar <enis@apache.org>
Authored: Tue Jun 23 10:49:51 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Tue Jun 23 10:49:51 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/master/ServerManager.java    | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0271afc1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
index 25144b8..a9b1f17 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
@@ -50,7 +50,6 @@ import org.apache.hadoop.hbase.ZooKeeperConnectionException;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.client.ClusterConnection;
 import org.apache.hadoop.hbase.client.ConnectionFactory;
-import org.apache.hadoop.hbase.ipc.ServerNotRunningYetException;
 import org.apache.hadoop.hbase.client.RetriesExhaustedException;
 import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer;
 import org.apache.hadoop.hbase.master.procedure.ServerCrashProcedure;
@@ -68,7 +67,6 @@ import org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSeque
 import org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode;
 import org.apache.hadoop.hbase.regionserver.HRegionServer;
 import org.apache.hadoop.hbase.regionserver.RegionOpeningState;
-import org.apache.hadoop.hbase.regionserver.RegionServerStoppedException;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.Triple;
 import org.apache.hadoop.hbase.util.RetryCounter;
@@ -926,11 +924,6 @@ public class ServerManager {
           return info != null && info.hasServerName()
             && server.getStartcode() == info.getServerName().getStartCode();
         }
-      } catch (RegionServerStoppedException | ServerNotRunningYetException e) {
-        if (LOG.isDebugEnabled()) {
-          LOG.debug("Couldn't reach " + server, e);
-        }
-        break;
       } catch (IOException ioe) {
         if (LOG.isDebugEnabled()) {
           LOG.debug("Couldn't reach " + server + ", try=" + retryCounter.getAttemptTimes()
+ " of "


Mime
View raw message