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

Configuring and Upgrading Apache Zeppelin

[Note]Note

The su commands in this section use zeppelin to represent the Zeppelin Service user. If you are using another name for your Apache Zeppelin Service user, you need to substitute your Zeppelin Service user name for zeppelin in each of the su commands

For HDP 2.6.0, use the Zeppelin version shipped with HDP 2.6.0.

If you have a previous version of Zeppelin, use the following steps to upgrade Zeppelin:

  1. Stop the Zeppelin server:

    su - zeppelin -c “/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh stop”
  2. Migrate configurations from the old Zeppelin configuration directory, /etc/zeppelin/<old version> to /etc/zeppelin/conf. Update any references to the old version of hdp in the configuration files.

  3. Migrate existing notebooks to the new version. Copy the notebook directory recursively from the Zeppelin notebook folder for the previous HDP version, to the Zeppelin notebook folder in the new HDP version:

    cp -R /usr/hdp/2.5.5.0-157/zeppelin/notebook/ /usr/hdp/2.6.0.3-8/zeppelin/notebook/
  4. (Optional, for clusters using Active Directory authentication) The Active Directory class name changed in HDP 2.6.

    In /usr/hdp/current/zeppelin-server/conf/shiro.ini, change org.apache.zeppelin.server.ActiveDirectoryGroupRealm to org.apache.zeppelin.realm.ActiveDirectoryGroupRealm.

  5. Start the Zeppelin server:

    su - zeppelin -c “/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh start”
  6. Validate the Zeppelin installation in one of the following ways:

    • Use the following command:

      su - zeppelin -c “/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh status”
    • Check the status by opening the Zeppelin host in a web browser, with the port number that you configured for it in zeppelin-env.sh, for example, http://zeppelin.local:9995.