Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6252

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

        1. HADOOP-6252.patch
          3 kB
          Jakob Homan

        Issue Links

          Activity

            People

            • Assignee:
              jghoman Jakob Homan
              Reporter:
              jghoman Jakob Homan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment