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

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

问题描述

从Zeppelin-0.7开始,Zeppelin开始使用Helium Framework支持Helium插件/软件包.但是,我无法在Helium页面(localhost:8080/#/helium)上查看任何插件.根据此 JIRA ,我放置了示例Helium.json(可在 Helium-Map ./p>

有人可以指出任何有关使用齐柏林飞艇中的氦气包装的详细步骤的指南或文档吗?任何帮助将不胜感激!

解决方案

Zeppelin 0.7.x

Zeppelin 0.7.x不支持在线注册表.换一种说法, 齐柏林飞艇不使用helium.json.因此,您需要自己安装每个软件包.

  1. 克隆氦气软件包要安装的内容
  2. 考虑到您在helium-xxx.json 中的本地计算机,
  3. artifact值修改为绝对路径
  4. zeppelin-xxx.json复制到$ZEPPELIN_HOME/helium目录(如果尚不存在则创建)
  5. 重新启动Zeppelin,然后转到localhost:8080/#/helium页面,然后安装该软件包.

Zeppelin 0.8.0-SNAPSHOT

Zeppelin 0.8.0-SNAPSHOT支持在线注册表.因此,您无需进行任何准备即可进行安装.

但是您遇到的NPE问题在 https://github.com/apache之后得到解决/zeppelin/pull/2380 .

所以,请git pull origin master并重建它:)


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.

  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 :)


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

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