[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)
bin/zookeeper-server-start.sh config/zookeeper.properties
启动窗口闪退是因为什么原因呢
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)
这不起成功啦。
你的答案