[ https://issues.apache.org/jira/browse/MAPREDUCE-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404018#comment-13404018 ]
Chuan Liu commented on MAPREDUCE-4374: -------------------------------------- {quote} Didn't understand this part, the existing syntax is "mapred.child.env=MY_PATH=/tmp", is that how you set vars on Windows? {quote} Oh, sorry for the confusing. By 'existing', I mean the existing setting for Hadoop on Linux. Because one possible solution is to use the Linux variable setting syntax for Hadoop on Windows. Hope this clarifies your question. > 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 > Affects Versions: 1-win > Reporter: Chuan Liu > Assignee: Chuan Liu > Priority: Minor > Attachments: MAPREDUCE-4374-branch-1-win.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 further > 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 > 'mapred.reduce.child.env'. However the current implementation is still not > complete. It does not match its documentation or original intend as I > believe. Also, by using ‘:’ (colon) and ‘;’ (semicolon) in the configuration > syntax, we will have problems using them on Windows because ‘:’ appears very > often in Windows path as in “C:\”, and environment variables are used very > often to hold 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 administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira