HBASE 0.98 version installation, three-step: Install Zookeeper 3.4.5

Source: Internet
Author: User

1. Download Zookeeper 3.4.5



2. Decompression



3, move to the right place


/home/hadoop/zookeeper



4. Set a location for zookeeper to place data


/home/hadoop/zk



5. Modify the Zookeeper configuration file


Vim/home/hadoop/zookeeper/conf/zoo.cfg


ticktime=2000
initlimit=10
Synclimit=5
Datadir=/home/hadoop/zk
clientport=2181

server.1=hd1:2888:3888
server.2=hd2:2888:3888
server.3=hd3:2888:3888
server.4=hd4:2888:3888


6. Distribute zookeeper to other nodes


Scp-r/home/hadoop/zookeeper Hd2:/home/hadoop

Scp-r/home/hadoop/zookeeper Hd3:/home/hadoop

Scp-r/home/hadoop/zookeeper Hd4:/home/hadoop



7. Establish myID file


Vim/home/hadoop/zk/myid


HD1 set to 1

HD2 set to 2

Analogy



7. Edit/etc/profile

#zookeeper
Export Zookeeper_home=/home/hadoop/zookeeper
Export path= $PATH: $ZOOKEEPER _home/bin


8. Start zookeeper independently on each node

/home/hadoop/zookeeper/bin/zkserver.sh



9. Use JPS to view status after startup

21408 Quorumpeermain

The appearance of Quorumpeermain is correct.


HBASE 0.98 version installation, three-step: Install Zookeeper 3.4.5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.