Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10216

Utility to dynamically reload Configuration on the disk

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    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

                                               

       

      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.

       

      Attachments

        1. YARN-10216.001.patch
          36 kB
          Cyrus Jackson
        2. image-2020-04-06-09-50-51-948.png
          11 kB
          Cyrus Jackson

        Activity

          People

            cyrusjackson25 Cyrus Jackson
            cyrusjackson25 Cyrus Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: