Spark Stack trace: ExitCodeExcep

2018-01-29  本文已影响0人  西二旗老司机

ERROR


Application application_1517035621983_1192758 failed 1 times due to AM Container for appattempt_1517035621983_1192758_000001 exited with  exitCode: 10
For more detailed output, check application tracking page: Then, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_e12_1517035621983_1192758_01_000024
Exit code: 10
Stack trace: ExitCodeException exitCode=10: 
    at org.apache.hadoop.util.Shell.runCommand(Shell.java:578)
    at org.apache.hadoop.util.Shell.run(Shell.java:489)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:755)
    at org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:297)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Solution


It can mean a lot of things - You should look at the container logs for an explanation:

yarn logs -applicationId application_1455007292848_0007

will print the logs to stdout.

上一篇下一篇

猜你喜欢

热点阅读