[
https://issues.apache.org/jira/browse/HBASE-20027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370524#comment-16370524
]
Andrew Purtell commented on HBASE-20027:
----------------------------------------
This is just a problem with the LocalHBaseCluster, which is what I was using to
test the bisect, and perhaps what Stack noted when testing the RC via launch
out of the bin tarball. This change is the issue:
{code:java}
diff --git
b/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
a/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
index 42484e7..9f8b3c1 100644
--- b/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
+++ a/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
@@ -147,6 +147,9 @@ public class LocalHBaseCluster {
if (conf.getInt(HConstants.REGIONSERVER_INFO_PORT, 0) != -1) {
conf.set(HConstants.REGIONSERVER_INFO_PORT, "0");
}
+ if (conf.getInt(HConstants.MASTER_INFO_PORT, 0) != -1) {
+ conf.set(HConstants.MASTER_INFO_PORT, "0");
+ }
this.masterClass = (Class<? extends HMaster>)
conf.getClass(HConstants.MASTER_IMPL, masterClass);
{code}
> Port assignments in site configuration are ignored
> --------------------------------------------------
>
> Key: HBASE-20027
> URL: https://issues.apache.org/jira/browse/HBASE-20027
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.4.0, 1.4.1
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Blocker
> Fix For: 1.4.2
>
>
> Port assignments for master and regionserver RPC and info ports in site
> configuration appear to be ignored.
> We are not catching this in tests because there appears to be no positive
> test for port assignment and the only fixed information we require is the
> zookeeper quorum and client port.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)