Spark runs on Yarn cluster exitCode=13

 Step Error in EMR

Resolution:

The issue is because of the incorrect spark-submit command.

- Ensure all the arguments are space-separated.

- Check the --class argument, the class mentioned in the command should be valid and correct.

- Below code is not required, if running on EMR. Remove the same.

SparkConf.setMaster("local[*]")



Comments