我们简单说明一下ZooKeeper的配置。我们简单说明一下ZooKeeper的配置。ZooKeeper服务器进程。start通过jps命令可以查看ZooKeeper服务器进程,名称为QuorumPeerMain。http://zookeeper.apache.org/doc/trunk/zookeeperOver.html#sc_designGoals。server.3=slave-03:2888:388812345678tickTime=2000dataDir=/home/hadoop/storage/zookeeperclientPort=2181initLimit=5syncLimit=2server.1=slave-01:2888:3888server.2=slave-02:2888:3888server.3=slave-03:2888:3888上述配置内容说明,可以参考http://zookeeper.apache.org/doc/trunk/zookeeperStarted.html#sc_RunningReplicatedZooKeeper。slave-02是集群的Leader,其余的两个结点是Follower。VtroisZH-CNENFRJA。