Anubhav Dhoot commented on YARN-3331:

As per 
 if we define the property library.${name}.path we can avoid it using the 
temporary directory. 
The file extraction is attempted until it succeeds in the following directories.
1. The directory pointed to by the "library.${name}.path" System property (if 
2. a temporary directory (uses the "java.io.tmpdir" System property)

So we can fix this by setting -Dlibrary.leveldbjni.path=$(pwd) in the 
nodemanager options.

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

Reply via email to