FAQ
LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
----------------------------------------------------------------------

Key: HADOOP-5980
URL: https://issues.apache.org/jira/browse/HADOOP-5980
Project: Hadoop Core
Issue Type: Bug
Components: mapred
Reporter: Sreekanth Ramakrishnan


Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}

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

Search Discussions

  • Sreekanth Ramakrishnan (JIRA) at Jun 5, 2009 at 9:16 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sreekanth Ramakrishnan reassigned HADOOP-5980:
    ----------------------------------------------

    Assignee: Sreekanth Ramakrishnan
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan

    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 5, 2009 at 9:16 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716545#action_12716545 ]

    Sreekanth Ramakrishnan commented on HADOOP-5980:
    ------------------------------------------------

    The issue is because linux does not pass LD_LIBRARY_PATH in list of environment to setuid/setgid executables.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan

    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 8, 2009 at 6:10 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sreekanth Ramakrishnan updated HADOOP-5980:
    -------------------------------------------

    Attachment: HADOOP-5980-1.patch

    Attaching a patch which fixes this issue. This patch can be applied after HADOOP-5981 patch has been applied.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 10, 2009 at 4:27 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sreekanth Ramakrishnan updated HADOOP-5980:
    -------------------------------------------

    Attachment: HADOOP-5980-2.patch

    Attaching patch merging with lastest patch on HADOOP-5981
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hemanth Yamijala (JIRA) at Jun 11, 2009 at 11:38 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718411#action_12718411 ]

    Hemanth Yamijala commented on HADOOP-5980:
    ------------------------------------------

    Code changes look ok. We are not adding newlines to the exported environment. Is this OK ?

    Some comments on the test case:
    - testEnvironment: The test shouldRun() should be made.
    - If the test in TestMiniMRChildTask fails, we will not do cleanup operations like deleting the outDir. I think we should call the runTestTaskEnv method in a try...catch...finally block and in the finally, do cleanup.
    - Do we need to check if the job execution fails ?

    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 12, 2009 at 2:48 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sreekanth Ramakrishnan updated HADOOP-5980:
    -------------------------------------------

    Attachment: HADOOP-5980-3.patch

    Attaching a patch incorporating Hemanths comments.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hemanth Yamijala (JIRA) at Jun 12, 2009 at 4:38 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718710#action_12718710 ]

    Hemanth Yamijala commented on HADOOP-5980:
    ------------------------------------------

    Looks fine to me. +1.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 12, 2009 at 5:04 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718714#action_12718714 ]

    Sreekanth Ramakrishnan commented on HADOOP-5980:
    ------------------------------------------------

    Result from ant test-patch

    {noformat}
    [exec] +1 overall.
    [exec]
    [exec] +1 @author. The patch does not contain any @author tags.
    [exec]
    [exec] +1 tests included. The patch appears to include 6 new or modified tests.
    [exec]
    [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
    [exec]
    [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
    [exec]
    [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
    [exec]
    [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
    [exec]
    [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
    {noformat}
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 13, 2009 at 4:53 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sreekanth Ramakrishnan updated HADOOP-5980:
    -------------------------------------------

    Status: Patch Available (was: Open)
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Sreekanth Ramakrishnan (JIRA) at Jun 13, 2009 at 4:53 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719077#action_12719077 ]

    Sreekanth Ramakrishnan commented on HADOOP-5980:
    ------------------------------------------------

    Ant test passed locally.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hemanth Yamijala (JIRA) at Jun 13, 2009 at 5:43 am
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hemanth Yamijala updated HADOOP-5980:
    -------------------------------------

    Resolution: Fixed
    Fix Version/s: 0.21.0
    Hadoop Flags: [Reviewed]
    Status: Resolved (was: Patch Available)

    I just committed this. Thanks, Sreekanth !
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Fix For: 0.21.0

    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Jun 15, 2009 at 3:22 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719591#action_12719591 ]

    Hudson commented on HADOOP-5980:
    --------------------------------

    Integrated in Hadoop-trunk #867 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/867/])

    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Fix For: 0.21.0

    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hemanth Yamijala (JIRA) at Jun 16, 2009 at 4:27 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hemanth Yamijala updated HADOOP-5980:
    -------------------------------------

    Attachment: hadoop-5980-v20.patch

    This patch is for earlier version of Hadoop. Not to be committed.
    LD_LIBRARY_PATH not passed to tasks spawned off by LinuxTaskController
    ----------------------------------------------------------------------

    Key: HADOOP-5980
    URL: https://issues.apache.org/jira/browse/HADOOP-5980
    Project: Hadoop Core
    Issue Type: Bug
    Components: mapred
    Reporter: Sreekanth Ramakrishnan
    Assignee: Sreekanth Ramakrishnan
    Fix For: 0.21.0

    Attachments: HADOOP-5980-1.patch, HADOOP-5980-2.patch, HADOOP-5980-3.patch, hadoop-5980-v20.patch


    Currently, task spawned off by {{LinuxTaskController}} don't get LD_LIBRARY_PATH in their environment. The tasks should get same LD_LIBRARY_PATH value as when spawned off by {{DefaultTaskController}}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJun 5, '09 at 9:16a
activeJun 16, '09 at 4:27p
posts14
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hemanth Yamijala (JIRA): 14 posts

People

Translate

site design / logo © 2022 Grokbase