ZEPPELIN 0.8.2 安装
作者:互联网
ZEPPELIN 0.8.2 安装
1.解压
tar -zxvf zeppelin-0.8.2-bin-all.tgz -C /opt/software/zeppelin
2.配置
mv zeppelin-env.sh.template zeppelin-env.sh
mv zeppelin-site.xml.template zeppelin-site.xml
vim zeppelin-env.sh
-----------------------------------------------------------
export JAVA_HOME=/opt/software/java/jdk180
export HADOOP_CONF_DIR=/opt/software/hadoop/hadoop313
-----------------------------------------------------------
vim zeppelin-site.xml
-----------------------------------------------------------
<property>
<name>zeppelin.server.addr</name>
<value>192.168.64.180</value>
<description>Server binding address</description>
</property>
<property>
<name>zeppelin.server.port</name>
<value>8000</value>
<description>Server port.</description>
</property>
------------------------------------------------------------
#修改hive关联的hdfs文件夹权限
hdfs dfs -chmod -R 777 /tmp
#配置环境变量
vim /etc/profile.d/myenv.sh
------------------------------------------------------------
#zepplin
export ZEPPELIN_HOME=/opt/software/zeppelin/zeppelin082
export PATH=$ZEPPELIIN_HOME/bin:$PATH
-------------------------------------------------------------
#启动zeppelin
./zeppelin-daemon.sh
3.配置hive解释器
拷贝hive-site.xml至zeppelin的conf目录
jar包拷贝
cd /opt/software/zeppelin/zeppelin082/interpreter/jdbc/
cp /opt/software/hadoop/hadoop313/share/hadoop/common/hadoop-common-3.1.3.jar ./
cp /opt/software/hive/hive312/lib/hive-jdbc-3.1.2.jar ./
cp /opt/software/hive/hive312/lib/hive-common-3.1.2.jar ./
cp /opt/software/hive/hive312/lib/hive-serde-3.1.2.jar ./
cp /opt/software/hive/hive312/lib/hive-service-rpc-3.1.2.jar ./
cp /opt/software/hive/hive312/lib/hive-service-3.1.2.jar ./
cp /opt/software/hive/hive312/lib/curator-client-2.12.0.jar ./
web 页面
右上角 anonymous => interpreter
右上角 create
配置
Interpreter Name => hive312
Interpreter group => jdbc
default.driver org.apache.hive.jdbc.HiveDriver
default.url jdbc:hive2://192.168.64.180:10000
default.user root
重启并创建Note
interpreters 列表种找到hive312 => 右上角 restart
创建NoteBook
Create New Note
NoteName => 自定义
Default Interpreter => hive312
create 即可
------------------
%hive312
------------------
标签:opt,0.8,jar,hive,ZEPPELIN,zeppelin,hive312,安装,software 来源: https://blog.csdn.net/YYDS_emmm/article/details/118091849