Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13699

Configuration does not substitute multiple references to the same var

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: conf
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      This changes the config var cycle detection introduced in 3.0.0-alpha1 by HADOOP-6871 such that it detects single-variable but not multi-variable loops. This also fixes resolution of multiple specifications of the same variable in a config value.
      Show
      This changes the config var cycle detection introduced in 3.0.0-alpha1 by HADOOP-6871 such that it detects single-variable but not multi-variable loops. This also fixes resolution of multiple specifications of the same variable in a config value.

      Description

      Config var loop detection was originally introduced by HADOOP-6871. Due to cycle detection changes in the trunk patch for HADOOP-11506, resolution for multiple references to the same variable no longer resolved, e.g.

      somekey = "${otherkey} ${otherkey}"
      

      This loop detection business is fragile, expensive, and not in branch-2, so let's reduce it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: