提交spark程序到yarn出现ERROR SparkContext: Error initializing SparkContext.
命令行输出的java异常栈ERRORSparkContext:ErrorinitializingSparkContext.org.apache.spark.SparkException:Yarnapplicationhasalreadyended!Itmighthavebeenkilledorunabletolaunchapplicationmaster.atorg.apache.spark.sc