I hate bringing bad news, but... You can't really reassign replicas if the leader is not available. Since the leader is gone, the replicas have no where to replicate the data from.
Until you bring the leader back (or one of the replicas with unclean leader election), you basically lost this partition. Gwen On Tue, Mar 3, 2015 at 3:57 PM, Virendra Pratap Singh <vpsi...@yahoo-inc.com.invalid> wrote: > Ran into a situation where both the leader and replica nodes for a few > partitions of a given topic went down. So now these partitions have no > in-sync replicas and neither any leader (leader set to -1). > I tried to reassign these partitions to a different set of brokers using > partition reassignment tool and then running the preferred replica. However I > don't see the partitions getting reassigned and the leader still value still > remains "-1" for these. > What do I need to get this working. > Kafka cluster is on 0.8.1.1 > Regards,Virendra