You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/09/17 19:40:09 UTC

[jira] [Commented] (HBASE-4427) It would help to run a standalone HBase's ZK on a different port

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

stack commented on HBASE-4427:
------------------------------

If we change this in hbase-default.xml, it will change it for all runs of hbase not just standalone.  That is probably not what you want.  I see over in src/test/resources/hbase-site.xml, the configuration we use for tests that we have a non-default port for zk.  Is it too much trouble setting this config. in your local standalone instance Roman?  Seems like a pretty disruptive change to make otherwise.

> 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