在Apache Zeppelin中安装使用Elasticsearch.PDF
文本预览下载声明
在Apache Zeppelin中安装使用Elasticsearch Interpreter
Spark大数据博客 -
在Apache Zeppelin中安装使用Elasticsearch Interpreter
从Apache Zeppelin 0.5.6 版本开始,内置支持 Elasticsearch
Interpreter了。我们可以直接在Apache Zeppelin中
查询 ElasticSearch 中的数据。但是默认的 Apache Zeppelin 发行版本中可能并没有包含
Elasticsearch
Interpreter。这种情况下我们
需要自己安装。如果你参照了官方的这篇
文档,即使你全部看完这篇文档,也是无法按照上面的说明启用 Elasticsearch Interpreter
的!所以基于这种情况,本文将教大家在 Apache Zeppelin中安装Elasticsearch
Interpreter。下面的安装教程是基于 Apache Zeppelin 0.7.2 版本。
如果想及时了
解Spark、Hadoop或者Hbase相关的文章,欢迎关注微信公共帐号:iteblog_hadoop
安装Elasticsearch Interpreter
安装的命令其实很简单,我们只需要在 Apache Zeppelin
的安装目录下执行下面的命令即可安装好,操作如下:
[iteblog@ zeppelin-0.7.2-bin-netinst]$ ./bin/install-
interpreter.sh --name elasticsearch
1 / 6
在Apache Zeppelin中安装使用Elasticsearch Interpreter
Spark大数据博客 -
如果运行完上面的命令得到类似于如下的输出信息,说明 Elasticsearch Interpreter
已经成功安装成功。
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was
removed in 8.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/iteblog/zeppelin-0.7.2-bin-netinst/lib/interpreter/slf4j-
log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/iteblog/zeppelin-0.7.2-bin-netinst/lib/slf4j-
log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See /codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Install elasticsearch(org.apache.zeppelin:zeppelin-
elasticsearch:0.7.2) to /home/iteblog/zeppelin-0.7.2-bin-netinst/interpreter/elasticsearch ...
Interpreter elasticsearch installed under /home/iteblog/zeppelin-0.7.2-bin-
netinst/interpreter/elasticsearch.
1. Restart Zeppelin
2. Create interpreter setting in Interpreter menu on Zeppelin GUI
3. Then you can bind the interpr
显示全部