[ 
https://issues.apache.org/jira/browse/HADOOP-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597525#action_12597525
 ] 

Arun C Murthy commented on HADOOP-2838:
---------------------------------------

I propose we generalise this feature and let users set _any_ environment 
variable for their tasks... maybe we should add a mapred.child.env 
configuration variable which takes in a comma-separated list of environment 
variables:

{noformat}
<property>
  <name>mapred.child.env</name>
  <value>LD_LIBRARY_PATH=/foo,PATH=/blah</value>
</property>

Of course we should ensure that each of the env-vars in that list is appended 
to the env inherited from the parent TT.

Thoughts?

> Add HADOOP_LIBRARY_PATH config setting so Hadoop will include external 
> directories for jni
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2838
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2838
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.16.0
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> Currently there is no way to configure Hadoop to use external JNI 
> directories. I propose we add a new variable like HADOOP_CLASS_PATH that is 
> added to the JAVA_LIBRARY_PATH before the process is run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to