Chapter 2. Installing Apache Zeppelin
This chapter describes how to install Zeppelin on an Ambari-managed cluster.
To install Zeppelin on an HDP cluster not managed by Ambari, see Installing and Configuring Apache Zeppelin in the Command Line Installation Guide.
To configure Zeppelin security features, see Configuring Zeppelin Security.
Requirements for Installing Zeppelin
Install Zeppelin on a node where Spark clients are already installed and running. This typically means that Zeppelin will be installed on a gateway or edge node.
Zeppelin requires the following software versions:
or later.
Apache Spark version 1.6. (Zeppelin does not currently support Spark 2.0, which is available as a technical preview with .)
Java 8 on the node where Zeppelin is installed.
The optional Livy server provides security features and user impersonation support for Zeppelin users. Livy is installed as part of Spark:
For an Ambari-managed cluster, see Installing Spark Using Ambari.
After installing Spark, Livy, and Zeppelin, refer to Configuring Zeppelin for post-installation steps.
For a cluster not managed by Ambari, see Installing and Configuring Livy in the Command Line Installation Guide.
Installing Zeppelin Using Ambari
This section describes how to install Zeppelin using Ambari.
The Ambari installation wizard sets default values for Zeppelin configuration settings. At first you should accept the default settings. Later, when you are more familiar with Zeppelin, consider customizing Zeppelin configuration settings.
To install Zeppelin using Ambari, add the Zeppelin service:
In the "Actions" menu at the bottom left of the Ambari dashboard, select "Add Service". This starts the Add Service wizard, which displays the "Choose Services" page.
On the Choose Services page, select the Zeppelin service.
Click "Next" to continue.
On the Assign Masters page, review the node assignment for Zeppelin, and modify as needed:
Click "Next" to continue.
On the Customize Services page, review default values and click "Next" to continue.
On the Review page, confirm the node selected to run the Zeppelin service:
Click "Deploy" to complete the installation process.
To validate your Zeppelin installation, open the Zeppelin Web UI in a browser window. Use the port number configured for Zeppelin (9995 by default); for example:
http://<zeppelin-host>:9995
To check the Zeppelin version number, type the following command on the command line:
/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh --version
Zeppelin stores configuration settings in the /etc/zeppelin/conf
directory. Note, however, that if your cluster is managed by Ambari you should not modify
configuration settings directly. Instead, use the Ambari web UI.
Zeppelin stores log files in /var/log/zeppelin
on the node where
Zeppelin is installed.