我查了一下 你让我们建的tmp下的那个目录 权限是正常的, 里面都没有什么像样的东西。在bin下面的 zookeep.out 里面 似乎 没有 报错
我截给你看2020-07-15 20:59:30,678 [myid:] - INFO [main:QuorumPeerConfig@111] - Reading configuration from: /home/hadoop/app/zookeeper-3.4.5-cdh5.15.1/bin/…/conf/zoo.cfg
2020-07-15 20:59:30,681 [myid:] - INFO [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
2020-07-15 20:59:30,681 [myid:] - INFO [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
2020-07-15 20:59:30,681 [myid:] - INFO [main:DatadirCleanupManager@101] - Purge task is not scheduled.
2020-07-15 20:59:30,681 [myid:] - WARN [main:QuorumPeerMain@118] - Either no config or no quorum defined in config, running in standalone mode
2020-07-15 20:59:30,689 [myid:] - INFO [main:QuorumPeerConfig@111] - Reading configuration from: /home/hadoop/app/zookeeper-3.4.5-cdh5.15.1/bin/…/conf/zoo.cfg
2020-07-15 20:59:30,689 [myid:] - INFO [main:ZooKeeperServerMain@100] - Starting server
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:zookeeper.version=3.4.5-cdh5.15.1–1, built on 08/09/2018 16:18 GMT
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:host.name=hadoop000
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:java.version=1.8.0_131
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:java.vendor=Oracle Corporation
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64/jre
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:java.class.path=/home/hadoop/app/zookeeper-3.4.5-cdh5.15.1/bin/…/build/classes:/hom$
2020-07-15 20:59:30,693 [myid:] - INFO [main:Environment@100] - Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2020-07-15 20:59:30,694 [myid:] - INFO [main:Environment@100] - Server environment:java.io.tmpdir=/tmp
2020-07-15 20:59:30,694 [myid:] - INFO [main:Environment@100] - Server environment:java.compiler=
2020-07-15 20:59:30,694 [myid:] - INFO [main:Environment@100] - Server environment:os.name=Linux
2020-07-15 20:59:30,694 [myid:] - INFO [main:Environment@100] - Server environment:os.arch=amd64
2020-07-15 20:59:30,694 [myid:] - INFO [main:Environment@100] - Server environment:os.version=3.10.0-693.el7.x86_64
2020-07-15 20:59:30,695 [myid:] - INFO [main:Environment@100] - Server environment:user.name=hadoop
2020-07-15 20:59:30,695 [myid:] - INFO [main:Environment@100] - Server environment:user.home=/home/hadoop
2020-07-15 20:59:30,695 [myid:] - INFO [main:Environment@100] - Server environment:user.dir=/home/hadoop/app/zookeeper-3.4.5-cdh5.15.1/bin
2020-07-15 20:59:30,701 [myid:] - INFO [main:ZooKeeperServer@743] - tickTime set to 2000
2020-07-15 20:59:30,701 [myid:] - INFO [main:ZooKeeperServer@752] - minSessionTimeout set to -1
2020-07-15 20:59:30,701 [myid:] - INFO [main:ZooKeeperServer@761] - maxSessionTimeout set to -1
2020-07-15 20:59:30,712 [myid:] - INFO [main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:2181
2020-07-15 20:59:30,719 [myid:] - INFO [main:FileTxnSnapLog@286] - Snapshotting: 0x0 to /home/hadoop/app/tmp/zookeeper/version-2/snapshot.0
我现在彻底不知道为什么了
求老师指教 我弄了 好久了 真的搞不来