You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2015/02/26 01:01:36 UTC
hbase git commit: HBASE-13102 Fix Pseudo-distributed Mode which was
broken in 1.0.0
Repository: hbase
Updated Branches:
refs/heads/master c651271f5 -> 7195f6211
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/7195f621
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7195f621
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7195f621
Branch: refs/heads/master
Commit: 7195f62114ce68dfa94115443d2b27cd2d7df01c
Parents: c651271
Author: Elliott Clark <ec...@apache.org>
Authored: Wed Feb 25 13:29:36 2015 -0800
Committer: Elliott Clark <ec...@apache.org>
Committed: Wed Feb 25 15:51:35 2015 -0800
----------------------------------------------------------------------
.../apache/hadoop/hbase/regionserver/RSRpcServices.java | 11 -----------
1 file changed, 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/7195f621/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 62c3305..4cd25da 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
@@ -783,17 +783,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.