sudo tar -zxvf hbase-2.2.0-bin.tar.gz -C /usr/local/
sudo mv hbase-2.2.0/ hbase
sudo chown -R hosea hbase
vim hbase-env.sh
export JAVA_HOME=/usr/local/jdk/jdk1.8.0_212
vim hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///usr/local/hbase/tmp/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/usr/local/hbase/tmp/zookeeper</value>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
</configuration>
http://localhost:16010
./bin/hbase shell