Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 7721 invoked from network); 20 May 2008 05:03:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 05:03:19 -0000 Received: (qmail 811 invoked by uid 500); 20 May 2008 05:03:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 667 invoked by uid 500); 20 May 2008 05:03:19 -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 651 invoked by uid 99); 20 May 2008 05:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 22:03: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 05:02:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 98E03234C114 for ; Mon, 19 May 2008 22:02:55 -0700 (PDT) Message-ID: <118235447.1211259775611.JavaMail.jira@brutus> Date: Mon, 19 May 2008 22:02:55 -0700 (PDT) From: "Amareshwari Sriramadasu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Amareshwari Sriramadasu updated HADOOP-2867: -------------------------------------------- Attachment: patch-2867.txt Here is a patch adding task's cwd and parents of mapred.cache.localFiles to the LD_LIBRARY_PATH. The patch is tested with simple c program which loads a shared library. > 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.