A previous build state:
<1>hadoop 和zookeeper已经成功启动
II. Hbase download the tar package, and the decompressor, configure the environment variables
III. Hbas into the conf directory under modify the configuration information
**<1>修改hbase-env.sh文件:**
export JAVA_HOME=/usr/local/java/jdk1.8.0_171
export HBASE_CLASSPATH=/usr/local/hadoop/etc/hadoop
export HBASE_MANAGES_ZK=false
<2> modified hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://centos-01:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>centos-01,centos-02,centos-03</value>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
</configuration>
<3> placed regionservers
centos1
centos2
centos3