Hadoop Common
  1. Hadoop Common
  2. HADOOP-8167

Configuration deprecation logic breaks backwards compatibility

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 0.24.0
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The deprecated Configuration logic works as follows:

      For a dK deprecated key in favor of nK:

      • on set(dK, V), it stores (nK,V)
      • on get(dK) it does a reverseLookup of dK to nK and looks for get(nK)

      While this works fine for single set/get operations, the iterator() method that returns an iterator of all config key/values, returns only the new keys.

      This breaks applications that did a set(dK, V) and expect, when iterating over the configuration to find (dK, V).

      1. HADOOP-8167.patch
        6 kB
        Alejandro Abdelnur

        Issue Links

          Activity

          Alejandro Abdelnur created issue -
          Alejandro Abdelnur made changes -
          Field Original Value New Value
          Attachment HADOOP-8167.patch [ 12518211 ]
          Alejandro Abdelnur made changes -
          Attachment HADOOP-8167.patch [ 12518212 ]
          Alejandro Abdelnur made changes -
          Attachment HADOOP-8167.patch [ 12518211 ]
          Alejandro Abdelnur made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Alejandro Abdelnur made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Alejandro Abdelnur made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Alejandro Abdelnur made changes -
          Link This issue blocks OOZIE-761 [ OOZIE-761 ]
          Alejandro Abdelnur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.0 [ 12320352 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue breaks HADOOP-8172 [ HADOOP-8172 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Robert Joseph Evans made changes -
          Fix Version/s 0.23.3 [ 12320059 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322473 ]
          Fix Version/s 2.0.0-alpha [ 12320352 ]
          Gavin made changes -
          Link This issue blocks OOZIE-761 [ OOZIE-761 ]
          Gavin made changes -
          Link This issue is depended upon by OOZIE-761 [ OOZIE-761 ]
          Chris Nauroth made changes -
          Link This issue is related to HADOOP-10178 [ HADOOP-10178 ]

            People

            • Assignee:
              Alejandro Abdelnur
              Reporter:
              Alejandro Abdelnur
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development