Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Controlled shutdown and "UnderReplicatedPartitions" state?


Copy link to this message
-
Re: Controlled shutdown and "UnderReplicatedPartitions" state?
Guozhang Wang 2013-12-03, 00:37
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