hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhankun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-8927) Better handling of "docker.trusted.registries" in container-executor's "trusted_image_check" function
Date Mon, 22 Oct 2018 14:11:00 GMT
Zhankun Tang created YARN-8927:

             Summary: Better handling of "docker.trusted.registries" in container-executor's
"trusted_image_check" function
                 Key: YARN-8927
                 URL: https://issues.apache.org/jira/browse/YARN-8927
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Zhankun Tang
            Assignee: Zhankun Tang

There is a missing case (configure repository name and use it as the image name) that we need
to catch when handling "docker.trusted.registries".

The container-executor.cfg configuration is as follows:
It works if run DistrubutedShell with "tangzhankun/tensorflow"
"yarn ... -shell_env YARN_CONTAINER_RUNTIME_TYPE=docker -shell_env YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=tangzhankun/tensorflow

But run a DistrubutedShell job with "centos" and "ubuntu" and "centos:[tagName]" fails:
The error message is like:
"image: centos is not trusted"

We need better handling the above cases.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message