[ 
https://issues.apache.org/jira/browse/HBASE-20027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-20027:
-----------------------------------
    Comment: was deleted

(was: Checking now, but I think this is just a LocalHBaseCluster problem (which 
was how I was testing to bisect)

 

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
index 42484e7..9f8b3c1 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
+++ b/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);)

> 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)

Reply via email to