You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/09/26 00:42:51 UTC
[jira] Commented: (HADOOP-555) Tasks should inherit some of the
server's environment
[ http://issues.apache.org/jira/browse/HADOOP-555?page=comments#action_12437685 ]
Doug Cutting commented on HADOOP-555:
-------------------------------------
I'm confused. Don't child processes inherit their parent's environment? They should.
You should be able to set LD_LIBRARY_PATH, PATH, etc. in conf/hadoo-env.sh and these should be seen by the child. If that doesn't work, I think it's a bug that should be fixed. If it does work, is it sufficient?
> Tasks should inherit some of the server's environment
> -----------------------------------------------------
>
> Key: HADOOP-555
> URL: http://issues.apache.org/jira/browse/HADOOP-555
> Project: Hadoop
> Issue Type: Improvement
> Reporter: Owen O'Malley
>
> When the task trackers start up the Task process, they clear the environment variables. It would be better if there was a SERVER config that listed the names of the environment variables that would be copied from the server's enviroment.
> So the task tracker's config would have:
> <property><name>mapred.task.environment</name>
> <value>PATH,LD_LIBRARY_PATH</value></property>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira