当前位置:网站首页>本地部署 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
边栏推荐
- B站大佬用我的世界搞出卷積神經網絡,LeCun轉發!爆肝6個月,播放破百萬
- Enterprises do not want to replace the old system that has been used for ten years
- TDengine 社区问题双周精选 | 第二期
- Let me ask you if there are any documents or cases of flynk SQL generation jobs. I know that flynk cli can create tables and specify items
- NFTScan 开发者平台推出 Pro API 商业化服务
- Where does this "judge the operation type according to the op value and assemble SQL by yourself" mean? It means simply using Flink tab
- Cover fake big empty talk in robot material sorting
- Laravel8 uses passport authentication to log in and generate a token
- 为了交通安全,可以做些什么?
- 儿童睡衣(澳大利亚)AS/NZS 1249:2014办理流程
猜你喜欢
若依请求url中带有jsessionid的解决办法
Cover fake big empty talk in robot material sorting
(flutter2) as import old project error: inheritfromwidgetofexacttype
借助这个宝藏神器,我成为全栈了
The problem of ASP reading Oracle Database
mysql连接vscode成功了,但是报这个错
Cloud native (32) | kubernetes introduction to platform storage system
Why are some people still poor and living at the bottom of society even though they have been working hard?
mysql拆分字符串作为查询条件的示例代码
How much does the mlperf list weigh when AI is named?
随机推荐
浅谈现在的弊端与未来的发展
11 preparations for Web3 and Decentralization for traditional enterprises
JS import excel & Export Excel
docker中mysql开启日志的实现步骤
With the help of this treasure artifact, I became the whole stack
监控界的最强王者,没有之一!
MySQL实现字段分割一行转多行的示例代码
企业不想换掉用了十年的老系统
自动更新Selenium驱动chromedriver
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
浅谈网络安全之文件上传
docker mysql5.7如何设置不区分大小写
[launched in the whole network] redis series 3: high availability of master-slave architecture
Talking about the current malpractice and future development
What can be done for traffic safety?
Example code of MySQL split string as query condition
Win11怎么恢复传统右键菜单?Win11右键改回传统模式的方法
B站大佬用我的世界搞出卷积神经网络,LeCun转发!爆肝6个月,播放破百万
What does front-end processor mean? What is the main function? What is the difference with fortress machine?
Is "applet container technology" a gimmick or a new outlet?