This post will share steps for setting up Zeppelin 0.8.2 as a workspace in Domino 4.1+ into the Domino Analytics Distribution (DAD)
Prerequisites:
- Domino version 4.1+ with access to the internet (specifically, to
http://apache.claz.org
) - A compute environment with the Py3.6 R 3.6 DAD base
Instructions:
1 . Add the following lines to the dockerfile instructions for your compute environment:
##Install Zeppelin from workspaces RUN sudo apt-get update -y && \ sudo apt-get install -y axel && \ axel -n 10 http://apache.claz.org/zeppelin/zeppelin-0.8.2/zeppelin-0.8.2-bin-all.tgz && \ tar xvzf zeppelin-0.8.2-bin-all.tgz && \ rm -rf /opt/zeppelin && \ mv zeppelin-0.8.2-bin-all /opt/zeppelin && \ rm zeppelin-0.8.2-bin-all.tgz RUN chown -R ubuntu:ubuntu /opt/zeppelin && \ mv /var/opt/workspaces/Zeppelin/zeppelin-env.txt /opt/zeppelin/conf/zeppelin-env.sh && \ chmod 777 /opt/zeppelin/conf/zeppelin-env.sh && \ chown ubuntu:ubuntu /opt/zeppelin/conf/zeppelin-env.sh && \ sed -i '94d' /opt/zeppelin/conf/zeppelin-env.sh && \ chown -R ubuntu:ubuntu /opt/zeppelin && \ echo "export ZEPPELIN_ADDR=0.0.0.0" >> /opt/zeppelin/conf/zeppelin-env.sh
2 . Add the following lines to the Pluggable Workspace Tools section for your compute environment:
Zeppelin: title: "Zeppelin" iconUrl: "https://raw.githubusercontent.com/dominodatalab/workspace-configs/develop/workspace-logos/Zeppelin.svg?sanitize=true" start: [ "/var/opt/workspaces/Zeppelin/start" ] httpProxy: port: 8888 requireSubdomain: false
The resulting Compute Environment settings should look like:
3 . You should now have Zeppelin available as a workspace in projects using this compute environment:
Warnings:
- There are known issues using Zeppelin with imported projects (it doesn't work).
- These instructions may not work on different base images or in a Domino version <4.1
Comments
0 comments
Please sign in to leave a comment.