kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: How do you recover an 0.8 Kafka server
Date Mon, 05 Aug 2013 15:51:37 GMT
Actually, you should just need to restart the failed broker and data should
be replicated to that broker. One thing to check is the state-change log.
Do you see any LeaderAndIsr request when the bad broker is restarted?

Thanks,

Jun


On Sun, Aug 4, 2013 at 8:06 PM, Eric Sites <Eric.Sites@threattrack.com>wrote:

> All,
>
> How do you recover from a bad Kafka 0.8 server.
>
> It failed to keep up with the replicated partitions assigned to it about a
> month ago.
>
> I delete everything in the partitions directories, then created the
> partition folders assigned to it.
> I also recreated the replication-offset-checkpoint file, with topcname
> part 0.
> Then start Kafka back up.
>
> And nothing... No recovery, just a bunch of empty log and index files.
> It will not recover.
>
> I have 2 servers like this, thank god I have 6 servers and almost all
> partitions have 3 replicas.
>
> But I do have a topic that had 1 partition on the servers, now it is
> showing no leader.
>
> Any help would be great.
>
> Thanks,
> Eric Sites
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message