[
https://issues.apache.org/jira/browse/HADOOP-11764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514366#comment-14514366
]
Zhijie Shen commented on HADOOP-11764:
--------------------------------------
I used to run into a scenario where I need to change both HADOOP_OPTS and
JAVA_LIBRARY_PATH to point the same dir . Having HADOOP_LEVELDBJNI_DIR defined
and applied to both evn vars in *-evn.sh is quicker way for op. However, after
it, I couldn't reproduce it, and it seems that changing HADOOP_OPTS only is
enough fix the issue. Given only one evn var needs to be changed, defining
HADOOP_LEVELDBJNI_DIR is no obviously cheaper than customizing HADOOP_OPTS.
> Hadoop should have the option to use directory other than tmp for extracting
> and loading leveldbjni
> ---------------------------------------------------------------------------------------------------
>
> Key: HADOOP-11764
> URL: https://issues.apache.org/jira/browse/HADOOP-11764
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Anubhav Dhoot
> Assignee: Anubhav Dhoot
> Attachments: YARN-3331.001.patch, YARN-3331.002.patch
>
>
> /tmp can be required to be noexec in many environments. This causes a
> problem when nodemanager tries to load the leveldbjni library which can get
> unpacked and executed from /tmp.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)