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

Allow users to get source of a Configuration parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • conf
    • None
    • Reviewed

    Description

      When we load the various XMLs via the Configuration class, the source of the XML file (filename) is usually kept in the Configuration class but not exposed programmatically. It is presently exposed as comments such as "Loaded from mapred-site.xml" in the XML dump/serialization but can't be accessed otherwise (Via the Configuration API).

      For debugging/etc. purposes, it may be useful to expose this safely (such as an API for "where did this property come from?" queries for a specific property, via an API.

      Attachments

        1. HADOOP-8524.patch
          3 kB
          Harsh J
        2. HADOOP-8524.patch
          3 kB
          Harsh J
        3. HADOOP-8524.patch
          3 kB
          Harsh J

        Issue Links

          Activity

            People

              qwertymaniac Harsh J
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: