spark-submit报错java.lang.IllegalStateException: User did not initialize spark context!

在IDEA上编写spark程序,打成jar包之后,上传到服务器,然后以yarn cluster模式提交:bin/spark-submit --class com.BRC.spark.WordCount --master yarn --deploy-mode cluster ./wordcount-1.0-SNAPSHOT.jar hdfs://test-szzt01:8020/test/hello
相关文章
相关标签/搜索