0
回答
运行spark job 方法失败了
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   
INFO yarn.Client: 
client token: N/A
diagnostics: Application application_1477273994674_2275 failed 2 times due to AM Container for appattempt_1477273994674_2275_000002 exited with  exitCode: 10
For more detailed output, check application tracking page:http://hyn-hdp-node01:8088/proxy/application_1477273994674_2275/Then, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_1477273994674_2275_02_000001
Exit code: 10
Stack trace: ExitCodeException exitCode=10: 
at org.apache.hadoop.util.Shell.runCommand(Shell.java:561)
at org.apache.hadoop.util.Shell.run(Shell.java:478)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:738)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:211)
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)




Container exited with a non-zero exit code 10
Failing this attempt. Failing the application.
ApplicationMaster host: N/A
ApplicationMaster RPC port: -1
queue: root.root
start time: 1477642140886
final status: FAILED
tracking URL: http://hyn-hdp-node01:8088/cluster/app/application_1477273994674_2275
user: root
Exception in thread "main" org.apache.spark.SparkException: Application application_1477273994674_2275 finished with failed status
at org.apache.spark.deploy.yarn.Client.run(Client.scala:1036)
at org.apache.spark.deploy.yarn.Client$.main(Client.scala:1083)
at org.apache.spark.deploy.yarn.Client.main(Client.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
16/10/28 16:09:11 INFO util.ShutdownHookManager: Shutdown hook called
16/10/28 16:09:11 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-21f4c2ff-c3f9-4b17-bad7-a012c66b88c7

<无标签>
举报
tom653
发帖于1年前 0回/534阅
顶部