配置环境变量
-
vim /etc/profile.d/my_env.sh
-
#HBASE_HOME export HBASE_HOME=/opt/module/hbase-2.4.14 export PATH=$PATH:$HBASE_HOME/bin
-
source /etc/profile.d/my_env.sh
改配置
env.sh
-
外部zk——启用
site.xml
-
<property> <name>hbase.cluster.distributed</name>vim <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>hadoop102,hadoop103,hadoop104</value> <description>say zookeeper</description> </property> <property> <name>hbase:rootdir</name> <value>hdfs://hadoop102:8020/hbase</value> <description>hbase data storage</description> </property>
regionServers
-
localhosts ---干掉 换成 hadoop102 hadoop103 hadoop104
logj4包砍掉一个(hadoop和hbase都有,砍掉一个避免冲突)
-
hbase/lib/client-facing~/slf4-reload~.jar ---> slf4~.jar.bak