0

我正在尝试在集群部署模式下使用 YARN 运行 spark 作业。我尝试仅使用 jar 路径、类参数和 master yarn-cluster 运行最简单的 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。

4

0 回答 0