kafka自带的zookeeper怎么启动?

nirvana 发表于: 2018-05-17   最后更新时间: 2018-05-17 14:55:48   9,192 游览

kafka自带的zookeeper怎么启动啊,需要配置吗?

发表于 2018-05-17
添加评论

bin/zookeeper-server-start.sh config/zookeeper.properties

WM -> 半兽人 5年前

启动窗口闪退是因为什么原因呢

半兽人 -> WM 5年前

windowns应该用bat吧。

[2018-05-17 16:20:54,971] INFO Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.version=3.10.0-514.el7.x86_64 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.name=root (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.home=/root (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.dir=/root/app/kafka (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO tickTime set to 3000 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO minSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO maxSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,022] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)


半兽人 -> nirvana 6年前

这不起成功啦。

你的答案

查看kafka相关的其他问题或提一个您自己的问题