Hadoop Common
  1. Hadoop Common
  2. HADOOP-6252

Provide method to determine if a deprecated key was set in the config file

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: conf
    • Labels:
      None

      Description

      HADOOP-6105 provided a method to deprecate config keys and transparently refer to the new key. However, it didn't provide a method to see if the deprecated key had been used in the config file. This is useful when, if the deprecated key had been used, its value needs to be converted before use, for instance when we changed the umask format. A method like "boolean wasDeprecatedKeySet()" would be great. Patch shortly.

        Issue Links

          Activity

          Jakob Homan created issue -
          Jakob Homan made changes -
          Field Original Value New Value
          Link This issue blocks HADOOP-6246 [ HADOOP-6246 ]
          Jakob Homan made changes -
          Attachment HADOOP-6252.patch [ 12419227 ]
          Jakob Homan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Suresh Srinivas made changes -
          Fix Version/s 0.21.0 [ 12313563 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jakob Homan
              Reporter:
              Jakob Homan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development