You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Robert Parker (JIRA)" <ji...@apache.org> on 2013/01/03 18:30:13 UTC

[jira] [Updated] (MAPREDUCE-4458) Warn if java.library.path is used for AM or Task

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

Robert Parker updated MAPREDUCE-4458:
-------------------------------------

    Attachment: MAPREDUCE-4458-2.patch

Added static function, removed tab indentations. Modified the test file but did not implement a test because the createApplicationSubmissionContext function is mocked in the @Before function.
                
> Warn if java.library.path is used for AM or Task
> ------------------------------------------------
>
>                 Key: MAPREDUCE-4458
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4458
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>    Affects Versions: 0.23.3, 3.0.0, 2.0.2-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Parker
>         Attachments: MAPREDUCE-4458-2.patch, MAPREDUCE-4458.patch
>
>
> If java.library.path is used on the command line for launching an MRAppMaster or an MR Task, it could conflict with how standard Hadoop/HDFS JNI libraries and dependencies are found.  At a minimum the client should output a warning and ask the user to switch to LD_LIBRARY_PATH.  It would be nice to automatically do this for them but parsing the command line is scary so just a warning is probably good enough for now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira