lynn created YARN-9906:
--------------------------
Summary: When setting multi volumes throurh the
"YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS" setting is not valid
Key: YARN-9906
URL: https://issues.apache.org/jira/browse/YARN-9906
Project: Hadoop YARN
Issue Type: Bug
Components: yarn
Reporter: lynn
As
[https://hadoop.apache.org/docs/r3.1.0/hadoop-yarn/hadoop-yarn-site/DockerContainers.html#Application_Submission]
described, when I set the item "{{YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS" to
multi volumes mounts, the value is a comma-separated list of mounts.}}
vars="YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=hadoop-docker,
YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS=/etc/passwd:/etc/passwd:ro,/etc/group:/etc/group:ro;/etc/hadoop/conf:/etc/hadoop/conf"
hadoop jar hadoop-examples.jar pi -Dyarn.app.mapreduce.am.env=$vars \
-Dmapreduce.map.env=$vars -Dmapreduce.reduce.env=$vars 10 100
I found the docker container can mount the first volume, so it can't be running
successfully without report error!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]