Hadoop Common
  1. Hadoop Common
  2. HADOOP-4365

Configuration.getProps() should be made protected for ease of overriding

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-4293 does make Configuration cleaner and easier to work with, but it does contain assumptions about how configurations are represented (in a private Properties instance) that subclasses may wish to diverge from.

      By making getProps() protected, people who subclass JobConf or Configuration can do their own binding from configuration data to Properties.

      1. hadoop-4365.patch
        0.5 kB
        steve_l
      2. hadoop-4365.patch
        4 kB
        steve_l

        Activity

          People

          • Assignee:
            Steve Loughran
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development