1、将hive的包解压到/opt/module目录下
2、在conf/hive-env.sh中配置hadoop的路径
3、依次启动Zookeeper、HDFS相关服务
zkCluster.sh、jpsall.sh均为自行配置的shell脚本
jpsall.sh:
for ip in `cat /etc/hosts | grep ctos | awk '{print $2}'`;do echo ----------$ip---------;ssh $ip "jps";done
4、元数据初始化
— 要养成终生学习的习惯 —
标签:02,Local,ip,Hive,sh,jpsall From: https://www.cnblogs.com/houhuilinblogs/p/18125576