Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Zeppelin - How to use Helium framework in Apache Zeppelin

From Zeppelin-0.7, Zeppelin started supporting Helium plugins/packages using Helium Framework. However, I am not able to view any of the plugin on Helium page (localhost:8080/#/helium). As per this JIRA, I placed sample Helium.json (available on s3) under /local-repo/helium-registry-cache. However, after that I got NPE while restarting Apache Zeppelin service.

I have tried Zeppelin 0.7 as well as Zeppelin 0.8.0 snaptshot versions. In particular, I want to use map Helium package - Helium-Map in Zeppelin note.

Can some one point me to any guide or documentation having detailed steps of using Helium package in Zeppelin? Any help would be greatly appreciated!

like image 251
Nikhil Bhide Avatar asked Jun 03 '17 09:06

Nikhil Bhide


1 Answers

Zeppelin 0.7.x

Zeppelin 0.7.x doesn't support the online registry. In other words, Zeppelin doesn't use helium.json. So you need to install each package by yourself.

  1. clone the helium package what you want to install
  2. modify the artifact value to the absolute path considering your local machine in helium-xxx.json
  3. copy zeppelin-xxx.json into the $ZEPPELIN_HOME/helium directory (create if it doesn't exist yet)
  4. restart Zeppelin and go to the localhost:8080/#/helium page, then install the package.

Zeppelin 0.8.0-SNAPSHOT

Zeppelin 0.8.0-SNAPSHOT supports the online registry. So you can install without any preparation.

But the NPE problem you've faced was fixed after https://github.com/apache/zeppelin/pull/2380.

So please git pull origin master and rebuild it :)


  • FYI, Now Zeppelin provides proxy functionality for helium. Refer https://github.com/apache/zeppelin/pull/2363
like image 161
1ambda Avatar answered Nov 17 '22 07:11

1ambda