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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • conf
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment