Seems zk's log is normal,  the KeeperException dose not matter when you
start a fresh cluster. Could you post your zk's config? Was there any error
/ exception in kafka's log? if not, you can change your log level to debug
to find if there is something wrong?

Best,
Lisheng


<i...@fluent-software.de> 于2020年4月20日周一 下午11:19写道:

> Hi,
>
>
>
> I have a problem with an kafka installation and need some help to go ahead
> with my issue. Maybe someone can help.
>
> If I start kafka, the process is being killed during the startup phrase
> after some seconds:
>
>
>
> [2020-04-20 17:12:26,244] INFO [ThrottledChannelReaper-Fetch]: Starting
> (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
>
> [2020-04-20 17:12:26,248] INFO [ThrottledChannelReaper-Produce]: Starting
> (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
>
> [2020-04-20 17:12:26,255] INFO [ThrottledChannelReaper-Request]: Starting
> (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
>
> [2020-04-20 17:12:26,350] INFO Loading logs. (kafka.log.LogManager)
>
> [2020-04-20 17:12:26,369] INFO Logs loading complete in 19 ms.
> (kafka.log.LogManager)
>
> [2020-04-20 17:12:26,407] INFO Starting log cleanup with a period of
> 300000 ms. (kafka.log.LogManager)
>
> [2020-04-20 17:12:26,412] INFO Starting log flusher with a default period
> of 9223372036854775807 ms. (kafka.log.LogManager)
>
> Killed
>
>
>
> Zookeeper starts successfully, and then disconnect the session:
>
>
>
> [2020-04-20 17:11:58,022] INFO Server
> environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> (org.apache.zookeeper.server.ZooKeep
>                          erServer)
>
> [2020-04-20 17:11:58,022] INFO Server environment:java.io.tmpdir=/tmp
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,022] INFO Server environment:java.compiler=<NA>
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,023] INFO Server environment:os.name=Linux
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,023] INFO Server environment:os.arch=amd64
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,024] INFO Server
> environment:os.version=4.15.18-11-pve
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,024] INFO Server environment:user.name=kafka
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,024] INFO Server environment:user.home=/home/kafka
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,024] INFO Server environment:user.dir=/tmp
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,052] INFO tickTime set to 3000
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,052] INFO minSessionTimeout set to -1
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,052] INFO maxSessionTimeout set to -1
> (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:11:58,085] INFO Using
> org.apache.zookeeper.server.NIOServerCnxnFactory as server connection
> factory (org.apache.zookeeper.server.ServerCnxnFactory)
>
> [2020-04-20 17:11:58,110] INFO binding to port 0.0.0.0/0.0.0.0:2181
> (org.apache.zookeeper.server.NIOServerCnxnFactory)
>
> [2020-04-20 17:12:24,811] INFO Accepted socket connection from
> /0:0:0:0:0:0:0:1:47236 (org.apache.zookeeper.server.NIOServerCnxnFactory)
>
> [2020-04-20 17:12:24,835] INFO Client attempting to establish new session
> at /0:0:0:0:0:0:0:1:47236 (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:12:24,840] INFO Creating new log file: log.28
> (org.apache.zookeeper.server.persistence.FileTxnLog)
>
> [2020-04-20 17:12:24,897] INFO Established session 0x10868af2ada0000 with
> negotiated timeout 6000 for client /0:0:0:0:0:0:0:1:47236
> (org.apache.zookeeper.server.ZooK
>                        eeperServer)
>
> [2020-04-20 17:12:25,062] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x1 zxid:0x29
> txntype:-1 reqpath:n/a Error
>                   Path:/consumers Error:KeeperErrorCode = NodeExists for
> /consumers (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,120] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x2 zxid:0x2a
> txntype:-1 reqpath:n/a Error
>                   Path:/brokers/ids Error:KeeperErrorCode = NodeExists for
> /brokers/ids (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,130] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x3 zxid:0x2b
> txntype:-1 reqpath:n/a Error
>                   Path:/brokers/topics Error:KeeperErrorCode = NodeExists
> for /brokers/topics (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,141] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x4 zxid:0x2c
> txntype:-1 reqpath:n/a Error
>                   Path:/config/changes Error:KeeperErrorCode = NodeExists
> for /config/changes (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,152] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x5 zxid:0x2d
> txntype:-1 reqpath:n/a Error
>                   Path:/admin/delete_topics Error:KeeperErrorCode =
> NodeExists for /admin/delete_topics
> (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,163] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x6 zxid:0x2e
> txntype:-1 reqpath:n/a Error
>                   Path:/brokers/seqid Error:KeeperErrorCode = NodeExists
> for /brokers/seqid (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,175] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x7 zxid:0x2f
> txntype:-1 reqpath:n/a Error
>                   Path:/isr_change_notification Error:KeeperErrorCode =
> NodeExists for /isr_change_notification
> (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,187] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x8 zxid:0x30
> txntype:-1 reqpath:n/a Error
>                   Path:/latest_producer_id_block Error:KeeperErrorCode =
> NodeExists for /latest_producer_id_block
> (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,198] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0x9 zxid:0x31
> txntype:-1 reqpath:n/a Error
>                   Path:/log_dir_event_notification Error:KeeperErrorCode =
> NodeExists for /log_dir_event_notification
> (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,208] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0xa zxid:0x32
> txntype:-1 reqpath:n/a Error
>                   Path:/config/topics Error:KeeperErrorCode = NodeExists
> for /config/topics (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,218] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0xb zxid:0x33
> txntype:-1 reqpath:n/a Error
>                   Path:/config/clients Error:KeeperErrorCode = NodeExists
> for /config/clients (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,228] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0xc zxid:0x34
> txntype:-1 reqpath:n/a Error
>                   Path:/config/users Error:KeeperErrorCode = NodeExists for
> /config/users (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:25,237] INFO Got user-level KeeperException when
> processing sessionid:0x10868af2ada0000 type:create cxid:0xd zxid:0x35
> txntype:-1 reqpath:n/a Error
>                   Path:/config/brokers Error:KeeperErrorCode = NodeExists
> for /config/brokers (org.apache.zookeeper.server.PrepRequestProcessor)
>
> [2020-04-20 17:12:26,937] WARN Unable to read additional data from client
> sessionid 0x10868af2ada0000, likely client has closed socket
> (org.apache.zookeeper.server.N
>                    IOServerCnxn)
>
> [2020-04-20 17:12:26,941] INFO Closed socket connection for client
> /0:0:0:0:0:0:0:1:47236 which had sessionid 0x10868af2ada0000
> (org.apache.zookeeper.server.NIOServe
>                            rCnxn)
>
> [2020-04-20 17:12:34,615] INFO Expiring session 0x10868af2ada0000, timeout
> of 6000ms exceeded (org.apache.zookeeper.server.ZooKeeperServer)
>
> [2020-04-20 17:12:34,616] INFO Processed session termination for
> sessionid: 0x10868af2ada0000
> (org.apache.zookeeper.server.PrepRequestProcessor)
>
>
>
>
>
> Any ideas about that?
>
>
>
> Kind regards,
>
> Sebastian
>
>
>
>

Reply via email to