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

Remove duplicate definition of default config values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • conf
    • None

    Description

      We define default configuration values in two places:
      #1 The default.xml files (eg core-default.xml)
      #2 The _DEFAULT defines in *Keys.java

      This means the defaults used in the code may or may not be dead code based on whether the config is present in the default xml file. Would be good to define these in one place. Eg:
      #1 Just have the defines in the code and figure out how to make those accessible as a loadable resource (eg could generate the default files from the defines in the KeysPublic* files)
      #2 Remove one of the definitions entirely (possible to live w/o the default files?) or
      #3 Remove the overlap between the code and default files

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: