1. ExitCodeException exitCode=13
1.1 背景
做spark程序的时候,在代码中写的是
println(masterUrl)
val spark = SparkSession.builder
.appName("JavaStructuredKafka")
.master(masterUrl)
.enableHiveSupport
.getOrCreate
提交的时候为
spark-submit --master yarn --deploy-mode cluster
然后报错 ExitCodeException exitCode=13
,具体报错如下
19/08/03 16:46:40 INFO yarn.Client: Application report for application_1564821447524_0002 (state: ACCEPTED)
19/08/03 16:46:41 INFO yarn.Client: Applic