ColaCoffe
ColaCoffe
I can use jobtype plugin to run spark job in yarn-cluster mode. This is my job file: #spark_demo_wordCount.job type=spark user.to.proxy=hdfs class=com.spark.example.WordCount master=yarn-cluster num-executors=1 executor-memory=512M execution-jar=lib/original-sparkExample-1.0-SNAPSHOT.jar force.output.overwrite=true dependencies=start And this is...
@Jamirkhan50 That looks like you didn't set Yarn classpath. check out the private.properties under directory of spark jobtype,you should set yarn classpath. this is my private.properties: jobtype.class=azkaban.jobtype.HadoopSparkJob jobtype.classpath=/usr/hdp/2.3.4.0-3485/hadoop/*,/usr/hdp/2.3.4.0-3485/hadoop/lib/*,/usr/hdp/2.3.4.0-3485/hadoop/conf,/usr/hdp/2.3.4.0-3485/hadoop-yarn/*,/usr/hdp/2.3.4.0-3 485/hadoop-yarn/lib/*,/usr/hdp/2.3.4.0-3485/spark/conf,/usr/hdp/2.3.4.0-3485/spark/lib/* azkaban.should.proxy=true...
@Jamirkhan50 Show me your file of spark job,I guess you didn't set jar path correctly.