hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7768) zkcluster in local mode not seeing configurations in hbase-{site|default}.xml
Date Tue, 05 Feb 2013 03:34:13 GMT

    [ 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

Mime
View raw message