You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Badger (Jira)" <ji...@apache.org> on 2019/09/06 20:27:00 UTC
[jira] [Updated] (YARN-9818) test_docker_util.cc:test_add_mounts
doesn't correctly test for parent dir of container-executor.cfg
[ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org