You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/02/05 04:34:13 UTC

[jira] [Commented] (HBASE-7768) zkcluster in local mode not seeing configurations in hbase-{site|default}.xml

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

Enis Soztutar commented on HBASE-7768:
--------------------------------------

Makes sense. Can you also change the other places default ctor is being used. 
                
> zkcluster in local mode not seeing configurations in hbase-{site|default}.xml
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-7768
>                 URL: https://issues.apache.org/jira/browse/HBASE-7768
>             Project: HBase
>          Issue Type: Bug
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>            Priority: Minor
>             Fix For: 0.92.3, 0.96.0, 0.94.6
>
>         Attachments: HBASE-7768.patch
>
>
> in case of local mode we are creating mini zk cluster with default constructor
> {code}
>       if (LocalHBaseCluster.isLocal(conf)) {
>         final MiniZooKeeperCluster zooKeeperCluster =
>           new MiniZooKeeperCluster();
> {code}
> {code}
>   public MiniZooKeeperCluster() {
>     this(new Configuration());
>   }
> {code}
> which is not reading any configurations in hbase-site|default.xml
> I think we can pass configuration object to MiniZooKeeperCluster

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