The three major data of: HBASE installation

HBASE installation - pseudo-distributed

1. First unpack, and rename

tar zxvf hbase-1.2.0-cdh5.14.2.tar.gz
mv hbase-1.2.0-cdh5.14.2 /opt/bigdata/hbase120

2. Configure hbase-env.sh

cd /opt/bigdata/hbase120/conf
vi hbase-env.sh

1566990432864

1566990455742

3. Configure hbase-site.xml

vi hbase-site.xml

1566989101106

<property>
     <name>hbase.rootdir</name>
     <value>hdfs://169.254.211.100:9000/hbase</value>
</property>
<property>
     <name>hbase.cluster.distributed</name>
     <value>true</value>
</property>
<property>
     <name>hbase.zookeeper.property.dataDir</name>
     <value>/opt/zkdir</value>
    </property>
<property>     
    <name>hbase.zookeeper.property.clientPort</name>
    <value>2181</value>    
</property>

Modify environment variables:

vi /etc/profile
source /etc/profile

1566989267381

start up

start-hbase.sh
hbase shell
stop-hbase.sh

Guess you like

Origin blog.51cto.com/14522074/2434371