zeppelin安装使用

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/weixin_42411818/article/details/100186691

Zeppelin的安装

登陆到slave1上,执行如下命令:
cd bigdata

wget http://mirror.bit.edu.cn/apache/zeppelin/zeppelin-0.8.0/zeppelin-0.8.0-bin-all.tgz
tar -xvf zeppelin-0.8.0-bin-all.tgz
cd zeppelin-0.8.0-bin-all

启动:bin/zeppelin-daemon.sh start
在本地打开浏览器,访问:http://slave1:8080 就可以进入到zeppelin的管理界面
在这里插入图片描述
查看日志:
tail -fn300 /home/hadoop-jrq/bigdata/zeppelin-0.8.0-bin-all/logs/zeppelin-hadoop-jrq-slave1-dev.log
停止zeppelin:bin/zeppelin-daemon.sh stop

Zeppelin配置hive查询

启动hive的metastore服务:
nohup hive --service metastore > ~/bigdata/apache-hive-2.3.3-bin/logs/metastore.log 2启动hive的hiveserver2服务:
nohup $HIVE_HOME/bin/hiveserver2 > /tmp/hiveserver2.log 2>&1 &
配置参考:http://zeppelin.apache.org/docs/0.8.0/interpreter/jdbc.html#apache-hive

Zeppelin配置Spark

配置参考:http://zeppelin.apache.org/docs/0.8.0/interpreter/spark.html
配置:conf/zeppelin-env.sh
export SPARK_HOME=/home/hadoop-jrq/bigdata/spark-2.2.0-bin-hadoop2.7

猜你喜欢

转载自blog.csdn.net/weixin_42411818/article/details/100186691
今日推荐