hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-2838) Add HADOOP_LIBRARY_PATH config setting so Hadoop will include external directories for jni
Date Fri, 16 May 2008 16:19:58 GMT

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

acmurthy edited comment on HADOOP-2838 at 5/16/08 9:18 AM:
----------------------------------------------------------------

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>
{noformat}

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?

      was (Author: acmurthy):
    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.


Mime
View raw message