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 4EA7C1028B for ; Wed, 10 Jul 2013 21:03:50 +0000 (UTC) Received: (qmail 71131 invoked by uid 500); 10 Jul 2013 21:03:49 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 70480 invoked by uid 500); 10 Jul 2013 21:03:49 -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 70173 invoked by uid 99); 10 Jul 2013 21:03:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 21:03:48 +0000 Date: Wed, 10 Jul 2013 21:03:48 +0000 (UTC) From: "Chuan Liu (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-4374) Fix child task environment variable config and add support for Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-4374?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chuan Liu updated MAPREDUCE-4374: --------------------------------- Attachment: MAPREDUCE-4374-trunk.3.patch Thanks for the suggestion, Chris! Attaching a new patch moving {{Pattern#co= mpile}} out of for loop. =20 > Fix child task environment variable config and add support for Windows > ---------------------------------------------------------------------- > > Key: MAPREDUCE-4374 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4374 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 3.0.0, 1-win, 2.1.0-beta > Reporter: Chuan Liu > Assignee: Chuan Liu > Priority: Minor > Fix For: 1-win > > Attachments: MAPREDUCE-4374-branch-1-win-2.patch, MAPREDUCE-4374-= branch-1-win.patch, MAPREDUCE-4374-trunk.2.patch, MAPREDUCE-4374-trunk.3.pa= tch, MAPREDUCE-4374-trunk.patch > > > In HADOOP-2838, a new feature was introduced to set environment variables= via the Hadoop config 'mapred.child.env' for child tasks. There are some f= urther fixes and improvements around this feature, e.g. HADOOP-5981 were a = bug fix; MAPREDUCE-478 broke the config into 'mapred.map.child.env' and 'ma= pred.reduce.child.env'. However the current implementation is still not co= mplete. It does not match its documentation or original intend as I believe= . Also, by using =E2=80=98:=E2=80=99 (colon) and =E2=80=98;=E2=80=99 (semic= olon) in the configuration syntax, we will have problems using them on Wind= ows because =E2=80=98:=E2=80=99 appears very often in Windows path as in = =E2=80=9CC:\=E2=80=9D, and environment variables are used very often to hol= d path names. The Jira is created to fix the problem and provide support on= Windows. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira