How to install CDH patch without downtime (ZERO downtime)

1. Update new patch parcel location in parcel configuration

2. Then come to parcel page and click on "check for new parcels"
3. You will find the new parcel shows as "Available Remotely"
4. Now we have to download the parcel by clicking "Download"
5. Once it is downloaded, the download option will turn into "Distribute"
6. After distribution completes, it will show "Activate"
7. Click on activate, then you will be redirected to "Restart" window.
8. This step is very important, as we are doing this patch deployment without downtime, we should not click "Restart".
8. Instead of restart select "Activate only" and close the window.
9. Now come to CM homepage.
10. In CM home page you will find "Deploy client configs" and "Restart" options to take new parcel effect.
11. Now we have to start "Rolling restart" of services as following order

Cloudera Management Service
ZooKeeper
HDFS
Solr
Flume
MapReduce or YARN
Sentry
HBase
Key-Value Store Indexer
Oozie
Spark
Sqoop2
Hive
Impala
Hue
Spark2

12. That's it.
Previous
Next Post »