原文:https://www.cnblogs.com/oraclestudy/articles/5665780.html
其中配置hbase-site.xml文件
<configuration>
<!-- 指定hdfs的连接 -->
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<!-- 是否集群部署 -->
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>127.0.0.1</value>
</property>
</configuration>