Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. spark-submit --conf spark.yarn.appMasterEnv.PYSPARK_PYTHON=./app/myapplication/bin/python --master yarn --deploy-mode cluster --queue dev --archives /opt/myapplication.zip#app /bin/first_pipeline.py
  2.  
  3. --archives - Shipping my whole conda environment
  4. spark.yarn.appMasterEnv.PYSPARK_PYTHON - setting python interpreter
  5. --queue - which Yarn queue to be used
  6. first_pipeline.py - is the file which I want to execute (this file present inside bin folder myapplication/bin/first_pipeline.py)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement