Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 19430 invoked from network); 20 May 2008 17:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 17:04:20 -0000 Received: (qmail 60826 invoked by uid 500); 20 May 2008 17:04:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 60795 invoked by uid 500); 20 May 2008 17:04:20 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 60783 invoked by uid 99); 20 May 2008 17:04:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 10:04:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 17:03:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9CBF5234C11B for ; Tue, 20 May 2008 10:03:55 -0700 (PDT) Message-ID: <2073977852.1211303035641.JavaMail.jira@brutus> Date: Tue, 20 May 2008 10:03:55 -0700 (PDT) From: "Arun C Murthy (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2867) Add a task's cwd to it's LD_LIBRARY_PATH In-Reply-To: <56410161.1203570883091.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598360#action_12598360 ] Arun C Murthy commented on HADOOP-2867: --------------------------------------- bq. On second thought, adding the directories that may have stuff that is not native libs at all, kind of does not make senese to add them blindly. Since the users can provide symlinks in the cwd for the cached libraries. This is not necessary. I removed the code which adds parent directories of all mapred.cache.localFiles +1 Christian, does this work for you? > 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, 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.