You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2015/01/08 00:14:36 UTC
[jira] [Updated] (MAPREDUCE-6205) Update the value of the new
version properties of the deprecated property "mapred.child.java.opts"
[ https://issues.apache.org/jira/browse/MAPREDUCE-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gera Shegalov updated MAPREDUCE-6205:
-------------------------------------
Attachment: MAPREDUCE-6205.003.patch
I think [~sam liu]'s approach works well now that deprecation deltas are added. [~sam liu], please upload patches for easier review of issues you are discussing. To catch up on this, I took the liberty to capture the current state in 003 patch. I think we should do the same with env properties as well.
> Update the value of the new version properties of the deprecated property "mapred.child.java.opts"
> --------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-6205
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6205
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: trunk
> Reporter: sam liu
> Assignee: sam liu
> Priority: Minor
> Attachments: MAPREDUCE-6205.003.patch, MAPREDUCE-6205.patch, MAPREDUCE-6205.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)