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 Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • 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.

      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Arvind Prabhakar
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development