You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/06/21 18:55:43 UTC

[jira] [Created] (HADOOP-8524) Allow users to get source of a Configuration parameter

Harsh J created HADOOP-8524:
-------------------------------

             Summary: Allow users to get source of a Configuration parameter
                 Key: HADOOP-8524
                 URL: https://issues.apache.org/jira/browse/HADOOP-8524
             Project: Hadoop Common
          Issue Type: Improvement
          Components: conf
            Reporter: Harsh J
            Priority: Trivial


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira