07-14-2017 02:19 AM
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?
07-14-2017 08:07 AM
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)