ZooKeeper installation in Windows

Source: Internet
Author: User

The reason for writing this essay is that the company project used the Dubbo framework, need to install zookeeper, so query some articles, at the same time will install zookeeper steps recorded, thank you for the information of Bo friends, in the end of the article specific thanks.

1. Overview

Zookeeper is a full-fledged sub-project of Hadoop, a reliable coordination system for large distributed systems, with features such as configuration maintenance, name services, distributed synchronization, group services, and more.

The goal of zookeeper is to encapsulate complex and error-prone services that provide users with easy-to-use interfaces and performance-efficient, robust systems.

2. Installation and Configuration

(1) Download: The official website of Apache provides a lot of images, and then find the corresponding version of the free installation is OK.

(2) Install: Unpack the downloaded package in place of your own, for example:D:\Program Files (x86) \zookeeper-3.4.8

(3) Modify the configuration, the path is D:\Program Files (x86) \zookeeper-3.4.8\conf:

A,add a zoo.cfg under Conf

b, the contents of the document

# The number of milliseconds of each tick heartbeat interval milliseconds each time

ticktime=2000

# The number of ticks that initial

# Synchronization phase can take

initlimit=10

# The number of ticks that can pass between

# Sending a request and getting anacknowledgement

Synclimit=5

# The directory where the snapshot isstored. Mirrored Data location

Datadir=d:\\data\\zookeeper

#日志位置

Datalogdir=d:\\logs\\zookeeper

# The port at which the clients WillConnect client connection

clientport=2181

(3) Start

Start command in D:\Program Files (x86) \zookeeper-3.4.8\bin

So the zookeeper was installed successfully.

Need to thank http://blog.csdn.net/morning99/article/details/40426133 for the reference article



ZooKeeper installation in Windows

Related Article

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.