Jupyter, Apache Spark and Apache Hadoop preconfigure for pseuid-distributed mode.
467
Docker image containing Apache Hadoop, Apache Spark and Jupyter with Toree kernels for Spark support in Jupyter notebooks. Like hsBase it is preconfigured for using hdfs and Yarn in pseudo-distributed mode.
To start Jupyter notebook simply use the command docker run -p 8888:8888 lamastex/hsjupyter and use the token printed to stdout to enter the webui at
localhost:8888. To start Jupyter along with hdfs use docker run -p 8888:8888 -p 50070:50070 lamastex/hsjupyter bash and run the script start.sh in the
work directory.
The Toree Scala and SQL interpreters are preinstalled for using Spark with Scala
and SQL. For using PySpark the package findspark is also installed. To use
PySpark and have a Spark context available as sc, start a Python3 notebook and
run
import findspark
findspark.init()
import pyspark
sc = pyspark.SparkContext()
The following ports are exposed by the dockerfile:
Note that the Spark master webUI port is not the default 8080 to avoid collision with Zeppelin which also uses port 8080 by default.
Content type
Image
Digest
Size
1.2 GB
Last updated
over 7 years ago
docker pull lamastex/hsjupyter