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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • conf
    • None
    • 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-3.patch
          2 kB
          Arvind Prabhakar
        2. HADOOP-6871-2.patch
          2 kB
          Arvind Prabhakar
        3. HADOOP-6871-1.patch
          2 kB
          Arvind Prabhakar
        4. HADOOP-6871.patch
          59 kB
          Arvind Prabhakar

        Issue Links

          Activity

            People

              aprabhakar Arvind Prabhakar
              aprabhakar Arvind Prabhakar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: