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

ReconfigurableBase should update the cached configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: datanode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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-12476.02.patch
          22 kB
          Arpit Agarwal
        2. HADOOP-12746.01.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

            • Assignee:
              arpitagarwal Arpit Agarwal
              Reporter:
              arpitagarwal Arpit Agarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: