Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5195

Endless NotLeaderForPartitionException for ReplicaFetcherThread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.1.1
    • None
    • replication
    • None

    Description

      One of the 3 brokers is suddenly in a bad state. It endlessly prints out the following message, for every partition:
      [2017-05-08 13:51:16,748] ERROR [ReplicaFetcherThread-0-0], Error for partition [partition_name,5] to broker 0:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is not the leader for that topic-partition. (kafka.server.ReplicaFetcherThread)

      In zookeeper, under /brokers/ids, I can't find the zkNode for broker 2. There are only the zkNodes 0 and 1.

      What kind of error this can be?
      Please, let me know if you need some more informaton, I don't know hot to properly debug it.

      Many thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            agardiman Andrea Gardiman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: