hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2867) Add a task's cwd to it's LD_LIBRARY_PATH
Date Tue, 20 May 2008 05:52:55 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Abdelnur updated HADOOP-2867:
---------------------------------------

    Status: Open  (was: Patch Available)

@@ -170,6 +175,8 @@

There is no need to add the native libs that have been softlinked to the LD_LIBRARY_PATH,
they are already being added to the 'java.library.path'  property.

@@ -387,9 +394,15 @@

You should not start with an empty Map for the environment, that will trash the existing environment.
You should get from ProcessBuilder the Map with the current environment and modify that one.

You should get the current value of LD_LIBRARY_PATH (actually to do it properly you should
check if you are in windows or unix and get the proper env variable) and append to it the
current working dir.

For the separator make sure you use 'System.getProperty("path.separator")'  instead ':'



> Add a task's cwd to it's LD_LIBRARY_PATH
> ----------------------------------------
>
>                 Key: HADOOP-2867
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2867
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.17.0
>            Reporter: Arun C Murthy
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.18.0
>
>         Attachments: patch-2867.txt, patch-2867.txt
>
>
> HADOOP-1660 added the task's cwd to it's java.library.path which means only java task's
can take advantage via System.load or System.loadLibrary... we should enhance it to support
Hadoop Pipes applications by adding it to the LD_LIBRARY_PATH so they can use dlopen/dlsym
etc.

-- 
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