You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Christopher Ebert (JIRA)" <ji...@apache.org> on 2011/08/03 01:02:27 UTC

[jira] [Commented] (HBASE-4156) ZKConfig defaults clientPort improperly

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

Christopher Ebert commented on HBASE-4156:
------------------------------------------

Small yes, but annoying when stumbling through one's initial map-reduce tasks using HBase. The fix looks right to me (I just set the property twice, once as hbase.zookeeper.property.clientPort and once as hbase.zookeeper.property.hbase.zookeeper.property.clientPort to work around the issue)

> ZKConfig defaults clientPort improperly
> ---------------------------------------
>
>                 Key: HBASE-4156
>                 URL: https://issues.apache.org/jira/browse/HBASE-4156
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Michajlo Matijkiw
>            Priority: Trivial
>         Attachments: clientPort-default-fix.patch
>
>
> ZKConfig#makeZKProps() should use "clientPort" as the client port key in its output when defaulting instead of "hbase.zookeeper.property.clientPort".  This method strips the "hbase.zookeeper.property." prefix from all of the properties it returns, so the client port key should not have it.  The result is that the default is not properly picked up.

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