Home | About | Sematext search-lucene.com search-hadoop.com
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
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Controlled shutdown and "UnderReplicatedPartitions" state?


+
Nitzan Harel 2013-12-03, 00:23
Copy link to this message
-
Re: Controlled shutdown and "UnderReplicatedPartitions" state?
Using "controlled shut down" means Kafka will try first to migrate the
partition leaderships from the broker being shut down before really shut it
down so that the partitions will not be unavailable. Disabling it would
mean that during the time when the broker is done until the controller
noticed it and make other brokers leader of the partitions this broker
originally holds as leader, these partitions will be unavailable, hence
there will be an unavailability window.

More details, you can search "controlled.shutdown.enable" in

https://kafka.apache.org/documentation.html#brokerconfigs
On Mon, Dec 2, 2013 at 4:23 PM, Nitzan Harel
<[EMAIL PROTECTED]>wrote:

> The default value for "controlled.shutdown.enable" is false.
> Does that mean that stopping a broker without a controlled shutdown and
> using a "kill ?9" might lead to an under "UnderReplicatedPartitions" state?
>

--
-- Guozhang

 
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