Re: Leader was set to -1 for some topic partitions

2016-03-27 Thread Raju Bairishetti
After enabling unclean leader election then all topic partitions are having leaders. Enabling unclean leader election may cause slight data loss but saves from lots of offline partitions. My assumptions towards solving issue: Earlier, we have enabled controlled shutdown and disabled unclean leader

Re: Leader was set to -1 for some topic partitions

2016-02-24 Thread Raju Bairishetti
Any thoughts on this? On Mon, Feb 22, 2016 at 1:24 PM, Raju Bairishetti wrote: > > > On Mon, Feb 22, 2016 at 1:13 PM, Salman Ahmed > wrote: > >> We saw a similar issue a while back. If leader is -1, I believe you won't >> have ingestion work for that partition. Was there any data ingestion dip?

Re: Leader was set to -1 for some topic partitions

2016-02-21 Thread Raju Bairishetti
On Mon, Feb 22, 2016 at 1:13 PM, Salman Ahmed wrote: > We saw a similar issue a while back. If leader is -1, I believe you won't > have ingestion work for that partition. Was there any data ingestion dip? > *No, I am not seeing any data dip for topic but no data for that partition whose leader

Re: Leader was set to -1 for some topic partitions

2016-02-21 Thread Salman Ahmed
We saw a similar issue a while back. If leader is -1, I believe you won't have ingestion work for that partition. Was there any data ingestion dip? On Sun, Feb 21, 2016 at 7:44 PM Raju Bairishetti wrote: > Hello, >We are using 0.8.2 kafka version. We are running 5 brokers in the prod > cluste

Leader was set to -1 for some topic partitions

2016-02-21 Thread Raju Bairishetti
Hello, We are using 0.8.2 kafka version. We are running 5 brokers in the prod cluster. Each topic is having two partitions. We are seeing some issues with some topic partitions. For some topic partitions leader was set to -1. I am not seeing any errors in the controller and server logs. After s