[ 
https://issues.apache.org/jira/browse/YARN-9818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Badger updated YARN-9818:
------------------------------
    Attachment: YARN-9818.001.patch

> test_docker_util.cc:test_add_mounts doesn't correctly test for parent dir of 
> container-executor.cfg
> ---------------------------------------------------------------------------------------------------
>
>                 Key: YARN-9818
>                 URL: https://issues.apache.org/jira/browse/YARN-9818
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>            Priority: Major
>         Attachments: YARN-9818.001.patch
>
>
> The code attempts to mount a directory that is a parent of 
> container-executor.cfg. However, the docker.allowed.[ro,rw]-mounts settings 
> in the container-executor.cfg don't allow that directory. So the test isn't 
> ever getting to the code where we disallow the mount because it is a parent 
> of container-executor.cfg. The test is disallowing it because the mount isn't 
> in the allowed mounts list. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to