问题
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!
回答1:
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.
- clone the helium package what you want to install
- modify the
artifact
value to the absolute path considering your local machine inhelium-xxx.json
- copy
zeppelin-xxx.json
into the$ZEPPELIN_HOME/helium
directory (create if it doesn't exist yet) - 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
来源:https://stackoverflow.com/questions/44342619/apache-zeppelin-how-to-use-helium-framework-in-apache-zeppelin