[ 
https://issues.apache.org/jira/browse/YARN-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cyrus Jackson updated YARN-10216:
---------------------------------
    Description: 
There should be a way to dynamically reload the configuration properties from 
the disk. The purpose of this feature is to let individual classes which are 
interested in observing this configuration changes, to be notified when the 
conf is reloaded from the disk. This is similar to how Hbase has done.

*Class Diagram*

                                          !image-2020-04-06-09-50-51-948.png!

 

*APPROACH DETAILS* 

The approach is based on the adaption of Hbase Online Configuration. In this 
case, the configuration file is monitored for any changes on the disk. If the 
file has changed, the properties of Configuration is reloaded and all the 
observers are notified. 

The classes that implements the observers updates the necessary values if 
required.

 

  was:
There should be a way to dynamically reload the configuration properties from 
the disk. The purpose of this feature is to let individual classes which are 
interested in observing this configuration changes, to be notified when the 
conf is reloaded from the disk. This is similar to how Hbase has done.

*Class Diagram*

                                          !image-2020-04-06-09-50-51-948.png!

 

*APPROACH DETAILS* 

The approach is based on the adaption of Hbase Online Configuration. In this 
case, the configuration file is monitored for any changes. If the file has 
changed, the properties of Configuration is reloaded from the disk and the 
observers are notified. 

The classes that implements the observers are required to update the necessary 
values.

 


> Utility to dynamically reload Configuration on the disk
> -------------------------------------------------------
>
>                 Key: YARN-10216
>                 URL: https://issues.apache.org/jira/browse/YARN-10216
>             Project: Hadoop YARN
>          Issue Type: New Feature
>            Reporter: Cyrus Jackson
>            Priority: Major
>         Attachments: image-2020-04-06-09-50-51-948.png
>
>
> There should be a way to dynamically reload the configuration properties from 
> the disk. The purpose of this feature is to let individual classes which are 
> interested in observing this configuration changes, to be notified when the 
> conf is reloaded from the disk. This is similar to how Hbase has done.
> *Class Diagram*
>                                           !image-2020-04-06-09-50-51-948.png!
>  
> *APPROACH DETAILS* 
> The approach is based on the adaption of Hbase Online Configuration. In this 
> case, the configuration file is monitored for any changes on the disk. If the 
> file has changed, the properties of Configuration is reloaded and all the 
> observers are notified. 
> The classes that implements the observers updates the necessary values if 
> required.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to