I am trying to use --files flag to read a local file in spark code. So I did the following
--files
spark-submit --master yarn --deploy-mode client --files re