dylanmei/docker-zeppelin
关于
Docker build for Zeppelin, a web-based Spark notebook
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文This repo is DEPRECATED, Please refer to Apache Zeppelin Official Docker Image
zeppelin
A debian:jessie based Spark and Zeppelin Docker container.
This image is large and opinionated. It contains:
- Spark 2.2.0 and Hadoop 2.7.3
- PySpark support with Python 3.4, NumPy, PandaSQL, and SciPy, but no matplotlib.
- A partial list of interpreters out-of-the-box. If your favorite interpreter isn't included, consider adding it with the api.
- spark
- shell
- angular
- markdown
- postgresql
- jdbc
- python
- hbase
- elasticsearch
A prior build of dylanmei/zeppelin:latest contained Spark 1.6.0, Python 2.7, and all of the stock interpreters. That image is still available as dylanmei/zeppelin:0.6.0-stable.
simple usage
To start Zeppelin pull the latest image and run the container:
docker pull dylanmei/zeppelin
docker run --rm -p 8080:8080 dylanmei/zeppelin
Zeppelin will be running at http://${YOUR_DOCKER_HOST}:8080.
complex usage
You can use docker-compose to easily run Zeppelin in more complex configurations. See this project's ./examples directory for examples of using Zeppelin with docker-compose to :
- read and write from local data files
- read and write documents in ElasticSearch
onbuild
The Docker onbuild container is still a part of this project, but I have no plans to keep it updated. See the onbuild directory to view its Dockerfile.
To use it, create a new Dockerfile based on dylanmei/zeppelin:onbuild and supply a new, executable install.sh file in the same directory. It will override the base one via Docker's ONBUILD instruction.
The steps, expressed here as a script, can be as simple as:
#!/bin/bash
cat > ./Dockerfile <<DOCKERFILE
FROM dylanmei/zeppelin:onbuild
ENV ZEPPELIN_MEM="-Xmx1024m"
DOCKERFILE
cat > ./install.sh <<INSTALL
git pull
mvn clean package -DskipTests \
-Pspark-1.5 \
-Dspark.version=1.5.2 \
-Phadoop-2.2 \
-Dhadoop.version=2.0.0-cdh4.2.0 \
-Pyarn
INSTALL
docker build -t my_zeppelin .
license
MIT
探索相关项目
加载中…