- Download Zeppelin:
$ wget https://mirror.navercorp.com/apache/zeppelin/zeppelin-0.9.0/zeppelin-0.9.0-bin-all.tgz
- Extract the tar package:
$ tar -xvzf zeppelin-0.9.0-bin-all.tgz
$ mv zeppelin-0.9.0-bin-all zeppelin
- Copy the template files:
$ cd zeppelin/conf
$ cp zeppelin-env.sh.template zeppelin-env.sh
$ cp zeppelin-site.xml.template zeppelin-site.xml
-
Modify the configuration files:
zeppelin-env.sh
:
export JAVA_HOME=/home/mijin/jdk1.8.0_291 export SPARK_MASTER=spark://xxx.xxx.xxx.xxx:7077 export ZEPPELIN_PORT=8888 export SPARK_HOME=/home/mijin/spark export HADOOP_CONF_DIR=/home/mijin/hadoop-3.2.2/etc/hadoop
zeppelin-site.xml
:
<property> <name>zeppelin.server.addr</name> <value>0.0.0.0</value> <description>Server binding address</description> </property> <property> <name>zeppelin.server.port</name> <value>8888</value> <description>Server port.</description> </property>
$ ./bin/zeppelin-daemon.sh start
$ ./bin/zeppelin-daemon.sh stop