Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9801

ReconfigurableBase should update the cached configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • datanode
    • None
    • Reviewed

    Description

      ReconfigurableBase#startReconfigurationTask does not update its cached configuration after a property is reconfigured. This means that configuration values queried via getConf().get(...) can be outdated. One way to fix it is ReconfigurableBase#reconfigurePropertyImpl returns the new effective value of the config setting and caller i.e. ReconfigurableBase will use it to update the configuration.

      See discussion on HDFS-7035 for more background.

      Attachments

        1. HADOOP-12746.01.patch
          22 kB
          Arpit Agarwal
        2. HADOOP-12476.02.patch
          22 kB
          Arpit Agarwal
        3. HADOOP-12746.03.patch
          26 kB
          Arpit Agarwal
        4. HADOOP-12746.04.patch
          28 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: