Spark runs in local but can't find file when running in YARN
问题 I've been trying to submit a simple python script to run it in a cluster with YARN. When I execute the job in local, there's no problem, everything works fine but when I run it in the cluster it fails. I executed the submit with the following command: spark-submit --master yarn --deploy-mode cluster test.py The log error I'm receiving is the following one: 17/11/07 13:02:48 INFO yarn.Client: Application report for application_1510046813642_0010 (state: ACCEPTED) 17/11/07 13:02:49 INFO yarn