Github user davies commented on the pull request:

    https://github.com/apache/spark/pull/5173#issuecomment-93510822
  
    @shaananc It seems that you are using Python3 in the driver, but python2 in 
YARN. PySpark can not work with different minor versions in driver and worker.
    
    So you could specify the Python version by:
    ```
    PYSPARK_PYTHON=python2 bin/spark-submit xxx 
    ```
    Or change the default version to python3 in YARN.


---
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