1.解压
2.修改conf中的配置文件
/opt/hbase-1.0.0-cdh5.4.0/conf# vim hbase-env.sh
添加环境变量
export JAVA_HOME=/opt/jdk1.8.0_261
export HBASE_MANAGES_ZK=false
添加配置信息
/opt/hbase-1.0.0-cdh5.4.0/conf# vim hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://10.0.13.144:8020/data_team/hbase</value>
<description>The directory shared by RegionServers.</description>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>10.0.13.144:2181</value>
</property>
<property>
<name>hbase.master.maxclockskew</name>
<value>300000</value>
<description>Time difference of regionserver from master</description>
</property>
</configuration>
3.启动
/opt/hbase-1.0.0-cdh5.4.0/bin# ./start-hbase.sh
上面两个进程运行表示成功