无法在纱线群集模式下运行Spark

时间:2017-09-25 08:09:15

标签: apache-spark yarn apache-spark-1.6

我正在尝试在群集部署模式下使用YARN运行spark作业。 我尝试仅使用jar路径,类参数和主纱线集群运行简化的spark-submit命令。但是我仍然有同样的错误,实际上什么也没告诉我。

Exception in thread "main" org.apache.spark.SparkException: Application application_1506196351647_0032 finished with failed status
        at org.apache.spark.deploy.yarn.Client.run(Client.scala:1078)
        at org.apache.spark.deploy.yarn.Client$.main(Client.scala:1125)
        at org.apache.spark.deploy.yarn.Client.main(Client.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        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)

如果有人有类似问题请告诉我,我使用的是Spark 1.6,hadoop 2.6。

0 个答案:

没有答案