[root@bogon hbase-2.1.4]#wget http://mirror.bit.edu.cn/apache/hbase/2.1.4/hbase-2.1.4-bin.tar.gz
[root@bogon hbase-2.1.4]#tar -zvxf hbase-2.1.4-bin.tar.gz
[root@bogon hbase]# rpm -ivh jdk-8u211-linux-x64.rpm
[root@bogon bin]# vim ~/.bash_profile
export JAVA_HOME=/usr/java/jdk1.8.0_211-amd64
export PATH=$JAVA_HOME/bin:$PATH
#export PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export HBASE_HOME=/root/hbase/hbase-2.1.4
export HBASE_CONF_DIR=$HBASE_HOME/conf
export HBASE_CLASS_PATH=$HBASE_CONF_DIR
export PATH=$PATH:$HBASE_HOME/bin
[root@bogon conf]# pwd
/root/hbase/hbase-2.1.4/conf
[root@bogon conf]# vim hbase-env.sh
export JAVA_HOME=/usr/java/jdk1.8.0_211-amd64
export HBASE_MANAGES_ZK=true
[root@bogon conf]# vim hbase-site.xml
<configuration>
<name>hbase.rootdir</name>
<value>file:/root/hbase/hbase-2.1.4/data</value>
</configuration>
[root@bogon bin]# ./start-hbase.sh
2019-06-03 15:13:39,995 WARN [main] conf.Configuration: Unexpected tag in conf file hbase-site.xml: expected <property> but found <name>
2019-06-03 15:13:39,996 WARN [main] conf.Configuration: Unexpected tag in conf file hbase-site.xml: expected <property> but found <value>
running master, logging to /root/hbase/hbase-2.1.4/logs/hbase-root-master-bogon.out
[root@bogon bin]# ./stop-hbase.sh