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