https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools
has more details. The ShutdownBroker tool does not return anything.
i.e., it does not exit with a System.exit code to pass back to a
shell. it only logs if controlled shutdown was complete or not. You
will need to configure the number of shutdown retries and retry
interval suitably for the controlled shutdown to complete. E.g., if
you have a very large number of partitions led by a broker it may take
more time to do a controlled shutdown on that broker (because leaders
need to be moved). (This yet another reason why we recommend that you
maintain even distribution of leaders - this can be accomplished by
running the PreferredReplicaLeaderElection command.)

On Wed, Jul 10, 2013 at 4:06 PM, Vadim Keylis <[EMAIL PROTECTED]> wrote:

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB