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

When the value of a configuration key is set to its unresolved form, it causes the IllegalStateException in Configuration.get() stating that substitution depth is too large.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When a configuration value is set to its unresolved expression string, it leads to recursive substitution attempts in Configuration.substituteVars(String) method until the max substitution check kicks in and raises an IllegalStateException indicating that the substitution depth is too large. For example, the configuration key "foobar" with a value set to "${foobar}" will cause this behavior.

      While this is not a usual use case, it can happen in build environments where a property value is not specified and yet being passed into the test mechanism leading to failures due to this limitation.

        Attachments

        1. HADOOP-6871.patch
          59 kB
          Arvind Prabhakar
        2. HADOOP-6871-1.patch
          2 kB
          Arvind Prabhakar
        3. HADOOP-6871-2.patch
          2 kB
          Arvind Prabhakar
        4. HADOOP-6871-3.patch
          2 kB
          Arvind Prabhakar

          Issue Links

            Activity

              People

              • Assignee:
                aprabhakar Arvind Prabhakar
                Reporter:
                aprabhakar Arvind Prabhakar
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: