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

Configuration does not substitute multiple references to the same var

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha2
    • conf
    • None
    • Incompatible change
    • 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

        1. HADOOP-13699.001.patch
          4 kB
          Andrew Wang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: