Github user lianhuiwang commented on the pull request:

    https://github.com/apache/spark/pull/3976#issuecomment-70770431
  
    yes, we just specify .py file or primaryResource file via spark-submit, 
with this PR we can make pyspark run in yarn-cluster mode.
    example:
    spark-submit --master yarn-master --num-executors 1 --driver-memory 1g 
--executor-memory 1g  xx.py --primaryResource yy.conf
    this config should not be changed and is same as pyspark on yarn-client 
mode.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to