What conditions can cause Leader: -1 ?

2015-02-12 Thread Omid Aladini
Hi, I'm experimenting with the following scenario: - 3 brokers are running (0,1 and 2) -- Kafka version 0.8.2.0 - Continuously: restart broker number 0 by triggering controlled shutdown. Sleep rand(10) seconds. repeat. - Continuously: create 'simple-test-topic' (RF=2), write and read messages, th

Re: When ZooKeeper quorum is down

2015-02-04 Thread Omid Aladini
l if > these cases still exist or not. > > One thing we can do is to add different ZK quorum failure scenarios to the > system test to have it covered over time. Could you file a JIRA? > > Guozhang > > On Tue, Feb 3, 2015 at 4:23 AM, Omid Aladini > wrote: > > >

When ZooKeeper quorum is down

2015-02-03 Thread Omid Aladini
Hi, Reading the official FAQ, I bumped into this paragraph: Once the Zookeeper quorum is down, brokers could result in a bad state and > could not normally serve client requests, etc. Although when Zookeeper > quorum recovers, the Kafka brokers should be able to resume to normal state > automatic