<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">zookeeper可以作为一个小的存储数据库使用。用于实时计算。</span>
启动zk server
[hadoop@hutx kafka_2.9.2-0.8.1.1]$ bin/zookeeper-server-start.sh config/zookeeper.properties[2014-08-06 01:59:26,853] INFO Reading configuration from: config/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)[2014-08-06 01:59:26,874] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain)[2014-08-06 01:59:26,910] INFO Reading configuration from: config/zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)[2014-08-06 01:59:26,923] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain)[2014-08-06 01:59:26,950] INFO Server environment:zookeeper.version=3.3.3-1203054, built on 11/17/2011 05:47 GMT (org.apache.zookeeper.server.ZooKeeperServer)[2014-08-06 01:59:26,950] INFO Server environment:host.name=hutx (org.apache.zookeeper.server.ZooKeeperServer)[2014-08-06 01:59:26,950] INFO Server environment:java.version=1.7.0_65 (org.apache.zookeeper.se