如果出现异常如下:
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
则需要修改 hbase-site.xml
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
sh ./hbase shell 启动客户端