I want to run a spark script and drop into an IPython shell to interactively examine data.
Running both:
$ IPYTHON=1 pyspark --master local[2] myscript.py
and
$ IPYTHON=1 spark-submit --master local[2] myscript.py
both exit out of IPython once done.
This seems really simple, but can't find how to do it anywhere.