hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject hbase git commit: HBASE-13102 Fix Pseudo-distributed Mode which was broken in 1.0.0
Date Thu, 26 Feb 2015 00:02:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 bc549e35c -> 92ba3edd4


HBASE-13102 Fix Pseudo-distributed Mode which was broken in 1.0.0


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

Branch: refs/heads/branch-1.0
Commit: 92ba3edd4b322227f1980fe0167e4daf9df4bd76
Parents: bc549e3
Author: Elliott Clark <eclark@apache.org>
Authored: Wed Feb 25 13:29:36 2015 -0800
Committer: Elliott Clark <eclark@apache.org>
Committed: Wed Feb 25 15:51:22 2015 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hbase/regionserver/RSRpcServices.java  | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/92ba3edd/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
index fc69804..115b3dc 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
@@ -763,17 +763,6 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
     }
     // Server to handle client requests.
     String hostname = getHostname(rs.conf);
-
-    boolean mode =
-        rs.conf.getBoolean(HConstants.CLUSTER_DISTRIBUTED, HConstants.DEFAULT_CLUSTER_DISTRIBUTED);
-    if (mode == HConstants.CLUSTER_IS_DISTRIBUTED && hostname.equals(HConstants.LOCALHOST))
{
-      String msg =
-          "The hostname of regionserver cannot be set to localhost "
-              + "in a fully-distributed setup because it won't be reachable. "
-              + "See \"Getting Started\" for more information.";
-      LOG.fatal(msg);
-      throw new IOException(msg);
-    }
     int port = rs.conf.getInt(HConstants.REGIONSERVER_PORT,
       HConstants.DEFAULT_REGIONSERVER_PORT);
     // Creation of a HSA will force a resolve.


Mime
View raw message