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

Configuration.writeXml can warn about deprecated properties user did not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.3-alpha, 0.23.5
    • None
    • conf
    • None

    Description

      When the configuration is serialized it can emit warnings about deprecated properties that the user did not specify. Converting the config to XML causes all the properties in the config to be processed for deprecation, and after HADOOP-8167 setting a proper config property also causes the deprecated forms to be set. Processing all the keys in the config for deprecation therefore can trigger warnings for keys that were never specified by the user, leaving users confused as to how their code could be triggering these warnings.

      Attachments

        Issue Links

          Activity

            People

              shahrs87 Rushabh Shah
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: