美文网首页
Spark Stack trace: ExitCodeExcep

Spark Stack trace: ExitCodeExcep

作者: 西二旗老司机 | 来源:发表于2018-01-29 20:20 被阅读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.

    相关文章

      网友评论

          本文标题:Spark Stack trace: ExitCodeExcep

          本文链接:https://www.haomeiwen.com/subject/rwyfzxtx.html