Hadoop Common
  1. Hadoop Common
  2. HADOOP-8524

Allow users to get source of a Configuration parameter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      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.

      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

          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322473 ]
          Fix Version/s 2.1.0-alpha [ 12321441 ]
          Harsh J made changes -
          Target Version/s 2.0.1-alpha, 3.0.0 [ 12321441, 12320357 ]
          Harsh J made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.1-alpha [ 12321441 ]
          Resolution Fixed [ 1 ]
          Harsh J made changes -
          Link This issue is superceded by HADOOP-8525 [ HADOOP-8525 ]
          Harsh J made changes -
          Attachment HADOOP-8524.patch [ 12532939 ]
          Harsh J made changes -
          Attachment HADOOP-8524.patch [ 12532927 ]
          Harsh J made changes -
          Affects Version/s 2.0.0-alpha [ 12320352 ]
          Target Version/s 2.0.1-alpha, 3.0.0 [ 12321441, 12320357 ]
          Harsh J made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Harsh J made changes -
          Attachment HADOOP-8524.patch [ 12532913 ]
          Harsh J made changes -
          Field Original Value New Value
          Assignee Harsh J [ qwertymaniac ]
          Harsh J created issue -

            People

            • Assignee:
              Harsh J
              Reporter:
              Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development