Command Line Installation
Also available as:
PDF
loading table of contents...

Configuring Zeppelin

Perform the following steps to configure Zeppelin:

  1. There are two ways to set environmental variables in Zeppelin.

    1. You can edit the /usr/hdp/current/zeppelin-server/conf/zeppelin-env.sh file to set the following environmental variables:

      export JAVA_HOME=<path to JDK 1.8>
      export PATH=$JAVA_HOME/bin:$PATH
      export SPARK_HOME=/usr/hdp/current/spark-client
      export HADOOP_CONF_DIR=/etc/hadoop/conf
      export ZEPPELIN_PORT=9995

      Environment variables override Java properties.

    2. If you do not want to change the environmental variables in /usr/hdp/current/zeppelin-server/conf/zeppelin-env.sh, you can copy /usr/hdp/current/zeppelin-server/conf/zeppelin-site.xml.template to /usr/hdp/current/zeppelin-server/conf/zeppelin-site.xml and add Java properties. See the Apache Apache Zeppelin Quick Start.

  2. If you are interested in using Java properties with Zeppelin, see the Apache Apache Zeppelin Quick Start. Environment variables override Java properties.

  3. If you are interested in using Shiro authentication for Zeppelin, edit the shiro.ini file as specified in Shiro authentication for Apache Zeppelin.