Member since
08-20-2018
2
Posts
0
Kudos Received
0
Solutions
08-21-2018
09:38 AM
Thanks! Harald for your input. It works finally after setting up local registry as mentioned in the provided link.
... View more
08-20-2018
12:57 PM
Hi, I followed all the recommendatiions and pre-requisite to execute docker containers on Yarn but failed to launch container. I have used single node HDP 3.0 non-kerberized cluster. Link used for recommendations: https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.0.0/data-operating-system/managing-data-operating-system.pdf Ran mapreduce sample job to launch docker container but got the below error: 18/08/16 15:34:59 INFO distributedshell.Client: Got application report from ASM for, appId=2, clientToAMToken=null, appDiagnostics=Application Failure: desired = 1, completed = 1, allocated = 1, failed = 1, diagnostics = [2018-08-16 15:34:53.201]Exception from container-launch. Container id: container_e09_1534445826689_0002_01_000002 Exit code: 127 Exception message: Launch container failed Shell error output: image: library/centos:latest is not trusted. Disable mount volume for untrusted image image: library/centos:latest is not trusted. Disable mount volume for untrusted image image: library/centos:latest is not trusted. Disable cap-add for untrusted image Docker capability disabled for untrusted image Shell output: main : command provided 4 main : run as user is nobody main : requested yarn user is root bdaf395fd9915b71dceeedb996c4d3af092e90c651628e83b201200634b3be23 Creating script paths... Creating local dirs... Getting exit code file... Changing effective user to root... Inspecting docker container... Docker inspect command: /usr/bin/docker inspect --format {{.State.Pid}} container_e09_1534445826689_0002_01_000002 pid from docker inspect: 0 Obtaining the exit code... Docker inspect command: /usr/bin/docker inspect --format {{.State.ExitCode}} container_e09_1534445826689_0002_01_000002 Exit code from docker inspect: 127 Wrote the exit code 127 to /hadoop/yarn/local/nmPrivate/application_1534445826689_0002/container_e09_1534445826689_0002_01_000002/container_e09_1534445826689_0002_01_000002.pid.exitcode [2018-08-16 15:34:53.232]Container exited with a non-zero exit code 127. Last 4096 bytes of stderr.txt : [2018-08-16 15:34:53.233]Container exited with a non-zero exit code 127. Last 4096 bytes of stderr.txt : Please advice on the above issue.
... View more
Labels:
- Labels:
-
Apache YARN
-
Docker