GitHub user bouk opened a pull request:

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

    Let pyspark execute files even when IPYTHON=1

    With the release of IPython 2.0 having the `PYTHONSTARTUP` environment 
variable and passing a file at the same time works as expected. So, we can just 
pass the commandline args straight to IPython.
    
    Also remove `IPYTHON_OPTS`, as you can now just pass options to IPython 
directly
    
    This puts the behavior of `IPYTHON=1` in line with the regular Python 
interpreter
    
    Note that this won't work correctly when IPython version < 2.0


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

    $ git pull https://github.com/Shopify/spark ipython-parameters

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

    https://github.com/apache/spark/pull/515.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 #515
    
----
commit 484f58660ad475bf8dfb08bff0ea08af9e7f7bdf
Author: Bouke van der Bijl <[email protected]>
Date:   2014-04-23T18:01:19Z

    Let pyspark execute files even when IPYTHON=1
    
    Also remove IPYTHON_OPTS

----


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

Reply via email to