GitHub user liancheng opened a pull request:

    https://github.com/apache/spark/pull/1864

    [SPARK-2894][Core] Fixes spark-shell and pyspark CLI options

    This PR tries to fix SPARK-2894 in a way different from #1825, namely 
filtering out all `spark-submit` options from user application options, since 
we have control over option list of `spark-submit`. By extracting the filtering 
into a utility shell function, fixing other shell scripts can be much easier, 
and adding new `spark-submit` options wouldn't need too much duplicated work. 
In the mid term, we still need a cleaner solution such as what has been 
discussed in #1715.
    
    All mode `pyspark` supported (Python, IPython and deprecated `pyspark 
app.py` style) should work. @JoshRosen @davies It would be great if you can 
help review PySpark related code, thanks!
    
    An open issue is Windows scripts need also to be updated.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liancheng/spark spark-2894

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1864.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1864
    
----
commit e630d19c01f35a9d48decc6c60b01b9d99c311c0
Author: Cheng Lian <[email protected]>
Date:   2014-08-08T17:15:45Z

    Fixing pyspark and spark-shell CLI options

commit 5afc584c9338bd2b5d7dff827a04ecdd07d6ac36
Author: Cheng Lian <[email protected]>
Date:   2014-08-09T00:50:41Z

    Filter out spark-submit options when starting Python gateway

----


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