[
https://issues.apache.org/jira/browse/HBASE-8294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625670#comment-13625670
]
Himanshu Vashishtha commented on HBASE-8294:
--------------------------------------------
Good point. I see hbase replication also has a use case like that.
In such case, we can also have an api to create a new instance.
Idea behind this jira is, currently whenever we call
HBaseConfiguration.create(), it creates a new object, which is pretty
expensive. And, there is no other way to reuse it other than passing a conf
around in all the method calls... which is quite annoying at least.
> 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