[ 
https://issues.apache.org/jira/browse/HBASE-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107204#comment-13107204
 ] 

Roman Shaposhnik commented on HBASE-4427:
-----------------------------------------

It is mostly out-of-the-box experience kind of question and you're absolutely 
right -- I can set it in my hbase-site.xml. However, I would like to understand 
a little bit better why do you think it'll be that disruptive. Suppose we 
change hbase-default.xml. The scenarious I see are these:
   * standalone mode -- will work perfectly
   * pseudo-distributed mode (hbase.cluster.distributed == true) with embedded 
ZK -- will work perfectly
   * pseudo-distributed mode (hbase.cluster.distributed == true) with 
standalone ZK (hbase.zookeeper.quorum != nul) -- will work perfectly since, as 
far as I understand, hbase.zookeeper.quorum will override 
hbase.zookeeper.property.clientPort.
   * fully-distributed mode with standalone ZK -- see above. Little difference 
between where the processes run, they will still require the same configs as 
far as hbase-site.xml is concerned.

Am I missing anything?

> It would help to run a standalone HBase's ZK on a different port
> ----------------------------------------------------------------
>
>                 Key: HBASE-4427
>                 URL: https://issues.apache.org/jira/browse/HBASE-4427
>             Project: HBase
>          Issue Type: Improvement
>          Components: zookeeper
>    Affects Versions: 0.90.4
>            Reporter: Roman Shaposhnik
>            Assignee: Roman Shaposhnik
>            Priority: Minor
>
> It would be extremely helpful to have standalone HBase default to a 
> non-standard port for running its embedded ZK. This would help to run HBase 
> on the same host where a legitimate fully distributed ZK server, etc.
> It seems that the following addition to hbase-default.xml would be enough to 
> make it happen:
> {noformat}
> +  <property>
> +    <name>hbase.zookeeper.property.clientPort</name>
> +    <value>4181</value>
> +  </property>
> {noformat}
> This will take care of the master/client for HBase and can be overridden in 
> hbase-site if needed.
> Thoughts?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to