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

        Arvind Prabhakar created issue -
        Arvind Prabhakar made changes -
        Field Original Value New Value
        Attachment HADOOP-6871.patch [ 12450102 ]
        Arvind Prabhakar made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arvind Prabhakar made changes -
        Attachment HADOOP-6871-1.patch [ 12450115 ]
        Arvind Prabhakar made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Arvind Prabhakar made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arvind Prabhakar made changes -
        Attachment HADOOP-6871-2.patch [ 12512501 ]
        Arvind Prabhakar made changes -
        Attachment HADOOP-6871-3.patch [ 12513183 ]
        Harsh J made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Affects Version/s 3.0.0 [ 12320357 ]
        Target Version/s 3.0.0 [ 12320357 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 3.0.0 [ 12320357 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development