Build zoopker+hbase environment
Continue with the installation of the previous hadoop.

First, install zookooper
1. Decompress zookooper
Tar-zxfv zookeeper-3.3.6.tar.gz
2. Modify the configuration:
Cp zookeeper/conf/zoo_sample.cfg zoo.cfg
The number of milliseconds of each tick
TickTime=2000
The number of ticks that the initialsynchronization phase can take
InitLimit=10
The number of ticks that can pass betweensending a request and getting an acknowledgement
SyncLimit=5
The directory where the snapshot is stored.
DataDir=/usr/zookeeper-3.3.6/data
The port at which the clients will connect
ClientPort=2181
# autopurge.purgeInterval=1
Server.1=192.168.1.101:2888:3888
Server.2=192.168.1.102:2888:3888
3. Write the file myid to 1 in the / usr/zookeeper-3.3.6/data directory (to correspond to the ip geology)
4. Scp-r / usr/zookeeper-3.3.6 ~ slave:/usr
5 start zoopker on master\ slave1 respectively
Second, install hbase
1. Decompress tar-zxvf hbase-1.3.1-bin.tar.gz
2. Modify hbase.env.sh to add JAVA_HOME, export HBASE_MANAGES_ZK=false
3. Modify and add regionservers
Master
Slave1
4. Modify hbase-site.xml
Hbase.rootdir
Hdfs://master:9000/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.quorum
Master,slave1
Hbase.master
Hdfs://master:60000
Hbase.zookeeper.property.dataDir
/ usr/zookeeper-3.3.6/data
Hbase.zookeeper.property.clientPort
2181
5 、 scp / usr/hbase slave1:/usr
6. Start
Hbase.rootdir
Hdfs://master:9000/hbase
Hbase.cluster.distributed
True
Hbase.zookeeper.quorum
Master,slave1
Hbase.master
Hdfs://master:60000
Hbase.zookeeper.property.dataDir
/ usr/zookeeper-3.3.6/data
Hbase.zookeeper.property.clientPort
2181