Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> LeaderNotAvailableException


Copy link to this message
-
Re: LeaderNotAvailableException
[2014-08-11 19:12:45,321] ERROR Controller 0 epoch 3 initiated state change
for partition [mytopic,0] from OfflinePartition to OnlinePartition failed
(state.change.logger)
kafka.common.
NoReplicaOnlineException: No replica for partition [mytopic,0]
is alive. Live brokers are: [Set()], Assigned replicas are: [List(0)]
    at
kafka.controller.OfflinePartitionLeaderSelector.selectLeader(PartitionLeaderSelector.scala:61)

This error in the state change log suggests no assigned replicas for topic
mytopic, partition 0. Could you send around the output of the
kafka-topics.sh tool for this topic? Also, I don't think the apache mailing
lists allow attachments, so you might have to send a pastebin or something.

Thanks,
Neha
On Mon, Aug 11, 2014 at 5:08 PM, Ryan Williams <[EMAIL PROTECTED]> wrote: