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

Gaurav Menghani commented on HBASE-8544:
----------------------------------------

Hi Sergey,
We are trying a simpler solution internally in the 89-fb branch for the Region 
Server (only, so far). The idea is like this:
Part 1 (this JIRA):
- Make the Region Servers reload the configurations from disk. This however, 
does not make other classes reload, which have their own copies of conf 
property values.

Part 2 (another JIRA):
- Every class that keeps properties which might be reconfigurable, must extend 
the HBaseReconfigurable, which makes them implement 
notifyOnChange(Array<Pair<String,String>> changedProperties)
- Each such class should register with a registry which keeps track of all the 
Reconfigurable objects and the properties that they are interested in.
- The registry's update() method is called when the conf is updated. It goes 
through the configurations which have changed and notifies the classes which 
have registered to be interested in the changing properties. 

Part 2 is not code complete yet, and we will be discussing that internally. If 
you have any feedback, I would be glad if you could share it :)

                
> Add a utility to reload configurations in Region Server
> -------------------------------------------------------
>
>                 Key: HBASE-8544
>                 URL: https://issues.apache.org/jira/browse/HBASE-8544
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 0.89-fb
>            Reporter: Gaurav Menghani
>
> Create a utility that can talk to the Region Servers and make them reload 
> configurations on disk.

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

Reply via email to