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连接配置 文章来源:https://www.toymoban.com/news/detail-712647.html 文章来源地址https://www.toymoban.com/news/detail-712647.html |
到了这里,关于hive工具-zeppelin部署的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!