Apache Zeppelin-如何在Apache Zeppelin中使用Helium框架 [英] Apache Zeppelin - How to use Helium framework in Apache Zeppelin
问题描述
从Zeppelin-0.7开始,Zeppelin开始使用Helium Framework支持Helium插件/软件包.但是,我无法在Helium页面(localhost:8080/#/helium)上查看任何插件.根据此 JIRA ,我放置了示例Helium.json(可在 s3 ).但是,在那之后,我在重新启动Apache Zeppelin服务时得到了NPE.
我尝试了Zeppelin 0.7以及Zeppelin 0.8.0快照版本.特别是,我想使用地图氦气包-Zeppelin说明中的 Helium-Map ./p>
有人可以指出任何有关使用齐柏林飞艇中的氦气包装的详细步骤的指南或文档吗?任何帮助将不胜感激!
Zeppelin 0.7.x
Zeppelin 0.7.x不支持在线注册表.换一种说法,
齐柏林飞艇不使用helium.json
.因此,您需要自己安装每个软件包.
- 克隆氦气软件包要安装的内容 考虑到您在
- 将
artifact
值修改为绝对路径 - 将
zeppelin-xxx.json
复制到$ZEPPELIN_HOME/helium
目录(如果尚不存在则创建) - 重新启动Zeppelin,然后转到
localhost:8080/#/helium
页面,然后安装该软件包.
helium-xxx.json
中的本地计算机,
Zeppelin 0.8.0-SNAPSHOT
Zeppelin 0.8.0-SNAPSHOT支持在线注册表.因此,您无需进行任何准备即可进行安装.
但是您遇到的NPE问题在 https://github.com/apache之后得到解决/zeppelin/pull/2380 .
所以,请git pull origin master
并重建它:)
-
仅供参考,现在齐柏林飞艇提供氦气的代理功能.引用 https://github.com/apache/zeppelin/pull/2363
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!
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
这篇关于Apache Zeppelin-如何在Apache Zeppelin中使用Helium框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!