[ 
https://issues.apache.org/jira/browse/HADOOP-11764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389035#comment-14389035
 ] 

Anubhav Dhoot commented on HADOOP-11764:
----------------------------------------

bq. That's all putting it on the command line does, so why can't we do this in 
Configuration?
[~aw] The solution demands writing to the environment and the proposed solution 
does that. Isnt that better than adding code in each daemon to read from the 
configuration and set it to the environment? 

bq. If the temporal native lib is redirected to another dir, we also needs to 
add that dir to JAVA_LIBRARY_PATH.
[~zjshen] This is an unrelated problem to the one this jira is solving. The 
current jira is not solving native lib not found. Rather the jar cannot be 
extracted and executed because of noexec permissions.

> 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)

Reply via email to