Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDB4F17700 for ; Wed, 6 May 2015 03:27:46 +0000 (UTC) Received: (qmail 40735 invoked by uid 500); 6 May 2015 03:27:46 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 40680 invoked by uid 500); 6 May 2015 03:27:46 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 40669 invoked by uid 99); 6 May 2015 03:27:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 03:27:46 +0000 Date: Wed, 6 May 2015 03:27:46 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6205) Update the value of the new version properties of the deprecated property "mapred.child.java.opts" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated MAPREDUCE-6205: ---------------------------------------- Labels: BB2015-05-TBR (was: ) > 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 > Reporter: sam liu > Assignee: sam liu > Priority: Minor > Labels: BB2015-05-TBR > 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)