Reputation: 1468
Can we submit a pyspark job in yarn cluster mode from Python code.
Upvotes: 0
Views: 5585
Reputation: 3696
spark-submit
is the command for submit the pyspark job on spark and we have to mention yarn cluster mode for deploy the job on cluster.
spark-submit --master yarn --deploy-mode cluster py_files.py
Upvotes: 1