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的设置

 

posted @ 2017-06-22 18:30  亢奋的小马哥  阅读(3011)  评论(1编辑  收藏  举报