[jira] [Updated] (KAFKA-705) Controlled shutdown doesn't seem to work on more than one broker in a cluster

2013-01-21 Thread Joel Koshy (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Koshy updated KAFKA-705:
-

Attachment: kafka-705-incremental-v2.patch

Here is what I meant in my last comment.

 Controlled shutdown doesn't seem to work on more than one broker in a cluster
 -

 Key: KAFKA-705
 URL: https://issues.apache.org/jira/browse/KAFKA-705
 Project: Kafka
  Issue Type: Bug
  Components: core
Affects Versions: 0.8
Reporter: Neha Narkhede
Assignee: Joel Koshy
Priority: Critical
  Labels: bugs
 Attachments: kafka-705-incremental-v2.patch, kafka-705-v1.patch, 
 shutdown_brokers_eat.py, shutdown-command


 I wrote a script (attached here) to basically round robin through the brokers 
 in a cluster doing the following 2 operations on each of them -
 1. Send the controlled shutdown admin command. If it succeeds
 2. Restart the broker
 What I've observed is that only one broker is able to finish the above 
 successfully the first time around. For the rest of the iterations, no broker 
 is able to shutdown using the admin command and every single time it fails 
 with the error message stating the same number of leaders on every broker. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (KAFKA-705) Controlled shutdown doesn't seem to work on more than one broker in a cluster

2013-01-15 Thread Neha Narkhede (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neha Narkhede updated KAFKA-705:


Attachment: shutdown-command
shutdown_brokers_eat.py

Run it with the --help option to list the description of the command line 
options. 

 Controlled shutdown doesn't seem to work on more than one broker in a cluster
 -

 Key: KAFKA-705
 URL: https://issues.apache.org/jira/browse/KAFKA-705
 Project: Kafka
  Issue Type: Bug
  Components: core
Affects Versions: 0.8
Reporter: Neha Narkhede
Assignee: Joel Koshy
Priority: Critical
  Labels: bugs
 Attachments: shutdown_brokers_eat.py, shutdown-command


 I wrote a script (attached here) to basically round robin through the brokers 
 in a cluster doing the following 2 operations on each of them -
 1. Send the controlled shutdown admin command. If it succeeds
 2. Restart the broker
 What I've observed is that only one broker is able to finish the above 
 successfully the first time around. For the rest of the iterations, no broker 
 is able to shutdown using the admin command and every single time it fails 
 with the error message stating the same number of leaders on every broker. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira