当前位置:网站首页>本地部署 zeppelin 0.10.1
本地部署 zeppelin 0.10.1
2022-07-06 15:51:00 【chen2ha】
碎碎念
Apache Zeppelin 是一个让交互式数据分析变得可行的基于网页的notebook
Zeppelin提供了数据可视化的框架
可实现你所需要的
- 数据采集
- 数据发现
- 数据分析
- 数据可视化和协作
当前最新版为 0.10.1 版本,官方提供两种安装包,一种是包含所有解析器的(1.6G),另一种是带有 spark 和网络下载解析器的包(568M)
支持的解析器
- alluxio
- angular
- beam
- bigquery
- cassandra
- elasticsearch
- file
- flink
- flink-cmd
- geode
- groovy
- hazelcastjet
- hbase
- ignite
- influxdb
- java
- jdbc
- jupyter
- kotlin
- ksql
- kylin
- lens
- livy
- md
- mongodb
- neo4j
- pig
- python
- r
- sap
- scalding
- scio
- sh
- spark
- spark-submit
- sparql
- submarine
部署 zeppelin
下载全量解析器安装包
wget --no-check-certificate -c \
https://dlcdn.apache.org/zeppelin/zeppelin-0.10.1/zeppelin-0.10.1-bin-all.tgz
tar xf zeppelin-0.10.1-bin-all.tgz
安装 java 环境
zeppelin 部署依赖 java 环境
yum install -y java-1.8.0-openjdk
修改配置文件
cd zeppelin-0.10.1-bin-all
cp conf/zeppelin-env.sh.template conf/zeppelin-env.sh
vim conf/zeppelin-env.sh
官方给出的配置文件模板是全注释的,这里标注几个需要注意的参数
# 定义 java 命令所在路径,yum 安装的可以不写,下载的 Oracle java 需要配置一下
export JAVA_HOME=
# zeppelin 访问地址,如果不配置,默认值 127.0.0.1,也可以写 0.0.0.0
export ZEPPELIN_ADDR=
# zeppelin web 页面访问的端口,默认值 8080,如果和本机端口冲突,可以修改这里的参数
export ZEPPELIN_PORT=
# sh 解析器绑定的机器 ip,只能写一个,不写的话,会在本机随机获取一个 ip 地址 [多网卡或者有 docker 就比较尴尬了]
export ZEPPELIN_LOCAL_IP=
# zeppelin 日志目录,默认是当前路径
export ZEPPELIN_LOG_DIR=
# zeppelin pid 记录目录,默认记录在 ${ZEPPELIN_HOME}/run 目录下
export ZEPPELIN_PID_DIR=
# notebook 存储路径
export ZEPPELIN_NOTEBOOK_DIR=
修改 xml 配置文件
cp conf/zeppelin-site.xml.template conf/zeppelin-site.xml
vim conf/zeppelin-site.xml
没特殊需求,可以不配置
- zeppelin 默认的索引路径在 /tmp 目录下,有需求可以修改成自己定义的路径,做统一管理
<property>
<name>zeppelin.search.index.path</name>
<value>/tmp/zeppelin-index</value>
<description>path for storing search index on disk.</description>
</property>
- 关闭匿名访问模式 [默认为匿名登录,并且 zeppelin-site.xml 文件内没有这一段内容,需要自己增加] (注意 xml 格式)
false-表示关闭匿名模式true-表示开启匿名模式
<property>
<name>zeppelin.anonymous.allowed</name>
<value>false</value>
<description>Anonymous user allowed by default</description>
</property>
- 关闭匿名模式后,需要配置用户名和密码
cp conf/shiro.ini.template conf/shiro.ini
vim conf/shiro.ini
配置
<用户名> = <密码>,<角色>更多细节可以查看官方文档:Apache Shiro Configuration
admin = admin,admin
启动 zeppelin
bash bin/zeppelin-daemon.sh start
通过浏览器访问配置的 ip 加端口来访问 zeppelin
边栏推荐
- How to choose the server system
- Why are some people still poor and living at the bottom of society even though they have been working hard?
- [launched in the whole network] redis series 3: high availability of master-slave architecture
- A few suggestions for making rust library more beautiful! Have you learned?
- COSCon'22 社区召集令来啦!Open the World,邀请所有社区一起拥抱开源,打开新世界~
- MySQL中正则表达式(REGEXP)使用详解
- The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
- mysql查看表结构的三种方法总结
- 儿童睡衣(澳大利亚)AS/NZS 1249:2014办理流程
- 请问oracle-cdc用JsonDebeziumDeserializationSchema反序列化
猜你喜欢

浅谈网络安全之文件上传

None of the strongest kings in the monitoring industry!

The problem of ASP reading Oracle Database

云原生(三十二) | Kubernetes篇之平台存储系统介绍

吴恩达2022机器学习课程评测来了!

企業不想換掉用了十年的老系統

室内LED显示屏应该怎么选择?这5点注意事项必须考虑在内

Children's pajamas (Australia) as/nzs 1249:2014 handling process

On file uploading of network security

Les entreprises ne veulent pas remplacer un système vieux de dix ans
随机推荐
How can Oracle CDC deserialize with jsondebeziumdeserializationschema
js对JSON数组的增删改查
公链与私链在数据隐私和吞吐量上的竞争
The important data in the computer was accidentally deleted by mistake, which can be quickly retrieved by this method
同一个作业有两个source,同一链接不同数据库账号,为何第二个链接查出来的数据库列表是第一个账号的
(DART) usage supplement
Up to 5million per person per year! Choose people instead of projects, focus on basic scientific research, and scientists dominate the "new cornerstone" funded by Tencent to start the application
华为云GaussDB(for Redis)揭秘第21期:使用高斯Redis实现二级索引
11 preparations for Web3 and Decentralization for traditional enterprises
基础图表解读“东方甄选”爆火出圈数据
CRMEB 商城系统如何助力营销?
新手问个问题,我现在是单机部署的,提交了一个sql job运行正常,如果我重启了服务job就没了又得
B站大佬用我的世界搞出卷积神经网络,LeCun转发!爆肝6个月,播放破百万
监控界的最强王者,没有之一!
这个『根据 op 值判断操作类型来自己组装 sql』是指在哪里实现?是指单纯用 Flink Tabl
Realize colorful lines and shape your heart
JS addition, deletion, modification and query of JSON array
The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
Efficient ETL Testing
Two week selection of tdengine community issues | phase II