hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Condit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8623) Update Docker examples to use image which exists
Date Wed, 08 Aug 2018 16:41:00 GMT

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

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

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

View raw message