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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

        1. hadoop-4365.patch
          0.5 kB
          Steve Loughran
        2. hadoop-4365.patch
          4 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: