r/bigdata • u/Lull3rSkat3r • Dec 12 '14
IBM Open Sources Spark Kernel
We are happy to announce a developer preview of the Spark Kernel which enables remote applications to dynamically interact with Spark. You can think of the Spark Kernel as a remote Spark Shell that uses the IPython notebook interface to provide a common entrypoint for any application. The Spark Kernel obviates the need to submit jars using spark-submit, and can replace the existing Spark Shell.
You can try out the Spark Kernel today by installing it from our github repo at https://github.com/ibm-et/spark-kernel. To help you get a demo environment up and running quickly, the repository also includes a Dockerfile and a Vagrantfile to build a Spark Kernel container and connect to it from an IPython notebook.
We have included a number of documents with the project to help explain it and provide how-to information:
A high-level overview of the Spark Kernel and its client library (https://issues.apache.org/jira/secure/attachment/12683624/Kernel%20Architecture.pdf).
README (https://github.com/ibm-et/spark-kernel/blob/master/README.md) - building and testing the kernel, and deployment options including building the Docker container and packaging the kernel.
IPython instructions ( https://github.com/ibm-et/spark-kernel/blob/master/docs/IPYTHON.md) - setting up the development version of IPython and connecting a Spark Kernel.
Client library tutorial ( https://github.com/ibm-et/spark-kernel/blob/master/docs/CLIENT.md) - building and using the client library to connect to a Spark Kernel.
Magics documentation ( https://github.com/ibm-et/spark-kernel/blob/master/docs/MAGICS.md) - the magics in the kernel and how to write your own.
We think the Spark Kernel will be useful for developing applications for Spark, and we are making it available with the intention of improving these capabilities within the context of the Spark community ( https://issues.apache.org/jira/browse/SPARK-4605). We will continue to develop the codebase and welcome your comments and suggestions.
2
u/rdhyee Dec 13 '14
Does the Spark Kernel project allow one to run pyspark through an IPython/Jupyter Notebook interface?
2
u/ajola90 Dec 13 '14
I don't think so, no - seems all the fancy stuff is in Scala but the option remains to use the vanilla python kernel in the notebook.
1
2
u/bkkb Dec 14 '14
What differentiates this from iSpark?