hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8294) Make HBaseConfiguration a singleton class
Date Tue, 09 Apr 2013 13:08:30 GMT

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

Himanshu Vashishtha commented on HBASE-8294:
--------------------------------------------

Okay, thanks for the input :)
I was thinking of adding a method in HBaseConfiguration.create to let Regionserver, master
give an option to use a "shared" configuration instance. If that is shared one, then it should
be immutable, etc. But then, it may become confusing when to use what.
I will add a doc on HBaseConfiguration.create() and close this.
                
> Make HBaseConfiguration a singleton class
> -----------------------------------------
>
>                 Key: HBASE-8294
>                 URL: https://issues.apache.org/jira/browse/HBASE-8294
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>    Affects Versions: 0.95.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>
> HBaseConfiguration.create() calls a new Configuration object. Ideally, we would like
to have just one configuration object in the jvm.

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