启动hive报错: no hbase in
作者:互联网
which: no hbase in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_65/bin:/opt/module/kafka/bin:/opt/module/hadoop-3.1.3/bin:/opt/module/hadoop-3.1.3/sbin:/mydata/kafka/kafka-eagle-bin-2.0.8/efak-web-2.0.8/bin:/root/sh:/root/bin:/opt/jdk1.8.0_65/bin:/opt/module/kafka/bin:/opt/module/hadoop-3.1.3/bin:/opt/module/hadoop-3.1.3/sbin:/opt/module/hive-3.1.2/bin) Hive Session ID = 50f2db0c-2186-44de-b786-27ad844d73f4
没有安装HBase 或者没有配置hbase 的环境变量 ,配置变量之后需要刷新使生效 source /etc/profile
export HBASE_HOME=/opt/module/hbase-2.2.1
export PATH=$PATH:$HBASE_HOME/bin
标签:bin,opt,no,module,kafka,报错,3.1,hbase 来源: https://www.cnblogs.com/lenny-z/p/16387959.html