Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5894

Make critical YARN properties first class citizens in the build.

    XMLWordPrintableJSON

Details

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

    Description

      We recently found that when deploy hadoop 2.2 with hadoop 2.0 values

       mapreduce_shuffle 

      changed to

        mapreduce.shuffle 

      .

      There are likewise many similar examples of parameters which become deprecated over time. See http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-common/DeprecatedProperties.html

      I suggest we:

      1) Have a list of all mandatory current parameters stored in the code, and also,

      2) a list of deprecated ones.

      3) Then, have the build * automatically fail * if a parameter in the "madatory" list is NOT accessed during unit tests....
      this would (a) make it so that unit testing of parameters does not regress and (b) force all updates to the code which change a parameter name, to also include an update to deprecated parameter list, before build passes.

      This setup could then be used to enable

      4) Reporting or failing upon presence of clearly obsolete parameters which are result of obvious human error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jayunit100 jay vyas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: