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 "Craig Condit (JIRA)" <ji...@apache.org> on 2018/08/08 16:41:00 UTC
[jira] [Commented] (YARN-8623) Update Docker examples to use image
which exists
[ https://issues.apache.org/jira/browse/YARN-8623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573478#comment-16573478 ]
Craig Condit commented on YARN-8623:
------------------------------------
I've been looking into this one a bit, and unfortunately, apache/hadoop-runner:latest doesn't seem to be a viable option. That image contains an ENTRYPOINT which attempts to sudo (without a password), resulting in the container failing to run when the launching UID != 1000 (the hadoop user within the container). This can be seen via docker logs as:
{code:java}
sudo: unknown uid 1004: who are you?{code}
I see two potential paths forward:
# Update the documentation to be more generic (maybe your-docker-image:latest instead of images/hadoop-docker:latest), and refer to the existing documentation on preparing an image for use with Hadoop.
# Create (and maintain going forward) an official Apache Hadoop docker image pre-configured to work out of the box, or at least as a starting point for user-created images.
[~shanekumpf@gmail.com], thoughts?
> Update Docker examples to use image which exists
> ------------------------------------------------
>
> Key: YARN-8623
> URL: https://issues.apache.org/jira/browse/YARN-8623
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Craig Condit
> Priority: Minor
> Labels: Docker
>
> The example Docker image given in the documentation (images/hadoop-docker:latest) does not exist. We could change images/hadoop-docker:latest to apache/hadoop-runner:latest, which does exist. We'd need to do a quick sanity test to see if the image works with YARN.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org