Zeppelin front page load time delayed

Provides troubleshooting steps when the Zeppelin front page takes a long time to load.

About this task

The Zeppelin front page may have significantly delayed load times when running in an environment with restricted internet access.

The root cause is that upon opening the Zeppelin UI, Zeppelin attempts to initialize its Helium Plugin System by downloading the plugin repository metadata (repodata) from the Internet. In environments where Internet access is restricted, the Zeppelin UI will remain inaccessible until the request to fetch the repodata times out.

To mitigate this issue, create a local snapshot of the repodata.

Download the repodata file using this command:
wget https://zeppelin.apache.org/helium.json -O /opt/mapr/zeppelin/zeppelin-0.10.1/conf/helium-repo-snapshot.json
To configure Zeppelin to use the local repodata snapshot, add the following property to zeppelin-env.sh:
export ZEPPELIN_HELIUM_REGISTRY="helium,file://${ZEPPELIN_HOME}/conf/helium-repo-snapshot.json"
NOTE
The local repodata snapshot file must not be named helium.json because that file name is reserved for another purpose.