zeppelin部署
解压安装包至/opt/soft 并改名 |
/etc/proofile中配置环境变量并source生效 #ZEPPELIN export ZEPPELIN_HOME=/opt/soft/zeppelin010 export PATH=$ZEPPELIN_HOME/bin:$PATH |
(1)conf目录下拷贝一份初始配置文件 [root@kb129 conf]# pwd /opt/soft/zeppelin010/conf cp ./zeppelin-site.xml.template ./zeppelin-site.xml (2)编辑配置文件vim ./zeppelin-site.xml (2)拷贝并编辑配置文件 [root@kb129 conf]# cp ./zeppelin-env.sh.template ./zeppelin-env.sh [root@kb129 conf]# vim ./zeppelin-env.sh (3)开启zeppelin [root@kb129 conf]# zeppelin-daemon.sh start (4)网页访问:http://kb129:8000 (5)zeppelin手动配置hive 1)拷贝hive-site.xml至conf目录 [root@kb129 conf]# cp /opt/soft/hive312/conf/hive-site.xml ./ 2)拷贝jar包 [root@kb129 jdbc]# pwd /opt/soft/zeppelin010/interpreter/jdbc 拷贝至当前目录 cp /opt/soft/hadoop313/share/hadoop/common/hadoop-common-3.1.3.jar ./ cp /opt/soft/hive312/lib/curator-client-2.12.0.jar ./ cp /opt/soft/hive312/lib/guava-27.0-jre.jar ./ cp /opt/soft/hive312/lib/hive-common-3.1.2.jar ./ cp /opt/soft/hive312/lib/hive-jdbc-3.1.2.jar ./ cp /opt/soft/hive312/lib/hive-serde-3.1.2.jar ./ cp /opt/soft/hive312/lib/hive-service-3.1.2.jar ./ cp /opt/soft/hive312/lib/hive-service-rpc-3.1.2.jar ./ cp /opt/soft/hive312/lib/libthrift-0.9.3.jar ./ cp /opt/soft/hive312/lib/protobuf-java-2.5.0.jar ./ 再次将4个jar包拷贝至此目录 (6)网页添加hive连接配置 |