zoukankan      html  css  js  c++  java
  • spark Application report for application_1498032012194_0036 (state: FAILED)

    spark yarn集群模式提交遇到的问题

    一直请求资源最后失败,后台日志会出现路径不存在等

    17/06/22 16:16:49 INFO yarn.Client: Application report for application_1498032012194_0036 (state: ACCEPTED)
    17/06/22 16:16:50 INFO yarn.Client: Application report for application_1498032012194_0036 (state: ACCEPTED)
    17/06/22 16:16:51 INFO yarn.Client: Application report for application_1498032012194_0036 (state: ACCEPTED)
    17/06/22 16:16:52 INFO yarn.Client: Application report for application_1498032012194_0036 (state: ACCEPTED)
    17/06/22 16:16:53 INFO yarn.Client: Application report for application_1498032012194_0036 (state: FAILED)
    17/06/22 16:16:53 INFO yarn.Client:
    client token: N/A
    diagnostics: Application application_1498032012194_0036 failed 2 times due to AM Container for appattempt_1498032012194_0036_000002 exited with exitCode: 10
    For more detailed output, check application tracking page:http://ysbd-h04:8088/cluster/app/application_1498032012194_0036Then, click on links to logs of each attempt.
    Diagnostics: Exception from container-launch.
    Container id: container_e42_1498032012194_0036_02_000001
    Exit code: 10
    Stack trace: ExitCodeException exitCode=10:
    at org.apache.hadoop.util.Shell.runCommand(Shell.java:582)
    at org.apache.hadoop.util.Shell.run(Shell.java:479)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:773)
    at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
    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:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

    解决》》》

    注销spark对master的设置

  • 相关阅读:
    软件工程期末考试复习(五)
    软件工程期末考试复习(四)
    软件工程期末考试复习(三)
    软件工程期末考试复习(二)
    shell脚本与mongo交互
    python使用单例模式创建MySQL链接
    python with上下文的浅谈
    Docker 基础概念科普 和 常用操作介绍
    MySQL聚集索引和非聚集索引
    为什么选择Python
  • 原文地址:https://www.cnblogs.com/xiaoma0529/p/7066567.html
Copyright © 2011-2022 走看看