Apache Zeppelin - 如何在 Apache Zeppelin 中使用 Helium 框架 [英] Apache Zeppelin - How to use Helium framework in Apache Zeppelin

查看:45
本文介绍了Apache Zeppelin - 如何在 Apache Zeppelin 中使用 Helium 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从 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.

  1. 克隆你想要安装的 helium 包
  2. helium-xxx.json
  3. 中考虑到您的本地机器,将artifact值修改为绝对路径
  4. zeppelin-xxx.json 复制到 $ZEPPELIN_HOME/helium 目录(如果尚不存在则创建)
  5. 重启 Zeppelin 并进入 localhost:8080/#/helium 页面,然后安装软件包.
  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.

齐柏林飞艇 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 :)


这篇关于Apache Zeppelin - 如何在 Apache Zeppelin 中使用 Helium 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆