You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by 张祥 <xi...@gmail.com> on 2020/04/16 09:04:44 UTC

Restart without shutdown log

Hi, I am using Ambari to manage Kafka, info as listed below:

Ambari version: 2.7.4.0
Kafka version: 2.0.0

The problem I ran into is that one broker restarts without shutdown log,
which makes it difficult to track down the reason. The related logs are
as follows,  in which I cannot find "shut down" message and it seems that
there is a log pause around 1.5 minutes before a sudden restart.

[2020-04-14 08:01:44,214] INFO [TransactionCoordinator id=1008] Initialized
transactionalId Source: Custom Source -> Sink:
test-d06beb747c9d00565739f0dfcdd14614-12 with producerId 217004 and
producer epoch 31222 on partition __transaction_state-41
(kafka.coordinator.transaction.TransactionCoordinator)
*[2020-04-14 08:01:45,276]* INFO [TransactionCoordinator id=1008]
Initialized transactionalId Source: Custom Source -> Filter -> Map ->
Filter -> Sink: Unnamed-9ab9edcfebd7d79af65d59b6e0b37d6f-23 with producerId
217030 and producer epoch 19220 on partition __transaction_state-1
(kafka.coordinator.transaction.TransactionCoordinator)
*[2020-04-14 08:03:23,026]* INFO Registered
kafka:type=kafka.Log4jController MBean
(kafka.utils.Log4jControllerRegistration$)
*[2020-04-14 08:03:23,678] INFO starting (kafka.server.KafkaServer)*
[2020-04-14 08:03:23,679] INFO Connecting to zookeeper on
luoge-kafka-03:2181,luoge-kafka-02:2181,luoge-kafka-04:2181,luoge-kafka-05:2181,luoge-kafka-06:2181
(kafka.server.KafkaServer)
[2020-04-14 08:03:23,774] INFO [ZooKeeperClient] Initializing a new session
to
luoge-kafka-03:2181,luoge-kafka-02:2181,luoge-kafka-04:2181,luoge-kafka-05:2181,luoge-kafka-06:2181.
(kafka.zookeeper.ZooKeeperClient)
[2020-04-14 08:03:23,819] INFO [ZooKeeperClient] Waiting until connected.
(kafka.zookeeper.ZooKeeperClient)
[2020-04-14 08:03:23,874] ERROR [ZooKeeperClient] Auth failed.
(kafka.zookeeper.ZooKeeperClient)
[2020-04-14 08:03:23,941] INFO [ZooKeeperClient] Connected.
(kafka.zookeeper.ZooKeeperClient)
[2020-04-14 08:03:24,382] INFO Cluster ID = J7raFmuqQ8mh_7DwZArH0A
(kafka.server.KafkaServer)
[2020-04-14 08:03:24,629] INFO KafkaConfig values:

Any insight would be appreciated, thanks.