Eric Badger created YARN-9818:
---------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to