Skip to content

[SPARK-4065] Add check for IPython on Windows - #2910

Closed
msjgriffiths wants to merge 3 commits into
apache:masterfrom
msjgriffiths:pyspark-windows
Closed

msjgriffiths wants to merge 3 commits into
apache:masterfrom
msjgriffiths:pyspark-windows

Conversation

@msjgriffiths

Copy link
Copy Markdown
Contributor

This issue employs logic similar to the bash launcher (pyspark) to check
if IPTYHON=1, and if so launch ipython with options in IPYTHON_OPTS.
This fix assumes that ipython is available in the system Path, and can
be invoked with a plain "ipython" command.

@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

This issue employs logic similar to the bash launcher (pyspark) to check
if IPTYHON=1, and if so launch ipython with options in IPYTHON_OPTS.
This fix assumes that ipython is available in the system Path, and can
be invoked with a plain "ipython" command.
This issue employs logic similar to the bash launcher (pyspark) to check
if IPTYHON=1, and if so launch ipython with options in IPYTHON_OPTS.
This fix assumes that ipython is available in the system Path, and can
be invoked with a plain "ipython" command.
EDIT: Fixed typo.
Comment thread bin/pyspark2.cmd Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing "with sbt\sbt assembly" is correct. see #2640.

Removed "with sbt\sbt assembly" from the error message if Spark is not
built.
@andrewor14

Copy link
Copy Markdown
Contributor

This LGTM. I guess we just never supported ipython on windows. Thanks I'm merging this into master and a 1.1.

asfgit pushed a commit that referenced this pull request Oct 28, 2014
This issue employs logic similar to the bash launcher (pyspark) to check
if IPTYHON=1, and if so launch ipython with options in IPYTHON_OPTS.
This fix assumes that ipython is available in the system Path, and can
be invoked with a plain "ipython" command.

Author: Michael Griffiths <msjgriffiths@gmail.com>

Closes #2910 from msjgriffiths/pyspark-windows and squashes the following commits:

ef34678 [Michael Griffiths] Change build message to comply with [SPARK-3775]
361e3d8 [Michael Griffiths] [SPARK-4065] Add check for IPython on Windows
9ce72d1 [Michael Griffiths] [SPARK-4065] Add check for IPython on Windows

(cherry picked from commit 2f254da)
Signed-off-by: Andrew Or <andrew@databricks.com>
@asfgit asfgit closed this in 2f254da Oct 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants