[
https://issues.apache.org/jira/browse/HBASE-9171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734802#comment-13734802
]
Xiong LIU commented on HBASE-9171:
----------------------------------
[~mbertozzi]
It's good to extend Configured class. What's missing in the patch v1 is the
super call in Canary's constructor.
I still think the configuration object should be initialized in Canary's
constructor.
> Canary monitor tool not loading hbase configuration
> ---------------------------------------------------
>
> Key: HBASE-9171
> URL: https://issues.apache.org/jira/browse/HBASE-9171
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.95.1
> Reporter: Xiong LIU
> Priority: Minor
> Labels: Canary
> Attachments: HBASE-9171-v0.patch, HBASE-9171-v1.patch
>
>
> When running bin/hbase org.apache.hadoop.hbase.tool.Canary, Canary throws
> exception that it cannot connect to zookeeper ensemble localhost:2181. The
> zookeeper server address to be connected is wrong because on my cluster setup
> the port number is 3181.
> The configuration Canary loaded is hadoop's default
> configuration(core-default.xml) rather than hbase's
> configuration(hbase-site.xml and hbase-default.xml).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira