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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2014/01/16 19:57:20 UTC
[jira] [Updated] (MAPREDUCE-5490) MapReduce doesn't set the
environment variable for children processes
[ https://issues.apache.org/jira/browse/MAPREDUCE-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated MAPREDUCE-5490:
-------------------------------------
Attachment: mr-5490.patch
This patch also sets HADOOP_CLASSPATH so that if the bin/hadoop command is invoked my a mapreduce task, it will have the task's classpath.
> MapReduce doesn't set the environment variable for children processes
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-5490
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5490
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 1.2.1
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Attachments: mr-5490.patch, mr-5490.patch
>
>
> Currently, MapReduce uses the command line argument to pass the classpath to the child. This breaks if the process forks a child that needs the same classpath. Such a case happens in Hive when it uses map-side joins. I propose that we make MapReduce in branch-1 use the CLASSPATH environment variable like YARN does.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)