[
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 desk. 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.
was:
There should be a way to dynamically reload the configuration properties from
the disk. The approach is to notify the individual classes that the
Configuration is reloaded and make the changes on the fly. 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 desk.
This is similar to how Hbase has done.
> 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 desk. 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.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]