New Contributor
Posts: 1
Registered: ‎05-29-2017

maintenance mode from backup operations

Hello ;


I am trying to write a script for our backup operation. Some hbase tables on our cluster should be backup. I want to change the status of cluster to maintance and than I want to copy these tables to another directories.  But, I need to find a way to change status to maintance mode via shell. Do you know any method to do this? Or what are you using for such operations?

Posts: 418
Topics: 13
Kudos: 67
Solutions: 39
Registered: ‎09-02-2016

Re: maintenance mode from backup operations



In general, you don't need to change the cluster to maintance mode for backup (Unless it is not very huge). Especially when you try to write script, i think you are going to schedule the script periodically. it is not required. you can find out the no usage /minimum usage time and schdule your script. (Maintenance is mainly required for admin related works like configuration change, upgrade, etc to avoid the alerts)