[
https://issues.apache.org/jira/browse/HADOOP-8781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452647#comment-13452647
]
Colin Patrick McCabe commented on HADOOP-8781:
----------------------------------------------
thanks for fixing this, tucu. Unfortunately the patch has a bug if your
{{LD_LIBRARY_PATH}} has spaces in it.
It should be
{code}
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_LIBRARY_PATH"
{code}
rather than
{code}
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_LIBRARY_PATH
{code}
follow-up change?
> hadoop-config.sh should add JAVA_LIBRARY_PATH to LD_LIBRARY_PATH
> ----------------------------------------------------------------
>
> Key: HADOOP-8781
> URL: https://issues.apache.org/jira/browse/HADOOP-8781
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.0.2-alpha
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Fix For: 1.2.0, 2.0.2-alpha
>
> Attachments: HADOOP-8781-branch1.patch, HADOOP-8781-branch1.patch,
> HADOOP-8781.patch, HADOOP-8781.patch
>
>
> Snappy SO fails to load properly if LD_LIBRARY_PATH does not include the path
> where snappy SO is. This is observed in setups that don't have an independent
> snappy installation (not installed by Hadoop)
--
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