Apache Zeppelin - How to use Helium framework in Apache Zeppelin

拟墨画扇 提交于 2019-12-30 02:17:07

问题


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.

  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


来源:https://stackoverflow.com/questions/44342619/apache-zeppelin-how-to-use-helium-framework-in-apache-zeppelin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!