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

Update the value of the new version properties of the deprecated property "mapred.child.java.opts"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • mrv2

    Description

      In current hadoop code, the old property "mapred.child.java.opts" is deprecated and its new versions are MRJobConfig.MAP_JAVA_OPTS and MRJobConfig.REDUCE_JAVA_OPTS. However, when user set a value to the deprecated property "mapred.child.java.opts", hadoop won't automatically update its new versions properties MRJobConfig.MAP_JAVA_OPTS("mapreduce.map.java.opts") and MRJobConfig.REDUCE_JAVA_OPTS("mapreduce.reduce.java.opts"). As hadoop will update the new version properties for many other deprecated properties, we also should support such feature on the old property "mapred.child.java.opts", otherwise it might bring some imcompatible issues.

      Attachments

        1. MAPREDUCE-6205.003.patch
          15 kB
          Gera Shegalov
        2. MAPREDUCE-6205.patch
          3 kB
          sam liu
        3. MAPREDUCE-6205.patch
          2 kB
          sam liu

        Issue Links

          Activity

            People

              sam liu sam liu
              sam liu sam liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: