(1)配置运行环境hbase-env.sh
export JAVA_HOME=/home/bxp/Documents/install/jdk1.8.0_131
(2)编辑hbase-site.xml
配置文件
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://hadoop-series.bxp.com:8020/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>hadoop-series.bxp.com</value>
</property>
</configuration>
(3)启动Hbase(需要先启动hdfs)
bin/start-hbase.sh
(4)执行hbase shell
bin/start-hbase.sh