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

Zhijie Shen commented on YARN-3331:
-----------------------------------

bq. I am not sure which value in core-site would fix this after going through 
the core-default documentation.

I'm afraid we can't set it in config file, because config file is read by the 
daemon, but we need to start the daemon with this opt.

And IMHO, {{-Dlibrary.leveldbjni.path}} alone cannot fix the problem. If the 
temporal native lib is redirected to another dir, we also needs to add that dir 
to {{JAVA_LIBRARY_PATH}}. Otherwise, we may still end up with native lib not 
found.

> NodeManager should use directory other than tmp for extracting and loading 
> leveldbjni
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-3331
>                 URL: https://issues.apache.org/jira/browse/YARN-3331
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            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