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

 

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

Reply via email to