I would like to perform maintenance update using script instead of logon to MapR Installer browser and click the "Maintenance Update" button. How to do that?
On each node, copy the patch file to it, shutdown the MapR software, install the mapr-patch package, start the MapR software.
For example (depending upon platform/OS versions):
systemctl stop mapr-warden
rpm -i /local/path/to/mapr-patch-<whatever version>.rpm
systemctl start mapr-warden
Replace systemctl commands with "service" commands if that's what your OS version uses, replace rpm command with dpkg command if that's what you're using.
Also note, you'll have to decide how you want to do this across all the nodes. If you do it concurrently on all the nodes, then you'll get the patch installed and all nodes in cluster back online quickly, but you will cause an outage by shutting down all nodes during that process. If you want to do it more transparently, you can shut down one node at a time and run through the process and bring it back, then move on to the next, thus avoiding cluster/service unavailability since only one node would be down at any given time.
Do you have a link so that I can always download the latest patch? The "Maintenance Update" button seems like it knows where to get the latest patch.
Peter Luo From what I heard last, MapR has stopped making patches available publicly post 5.2 or 5.2.1 or something. So, not sure if what you are looking for is doable or not.
If you were to check Index of /patches/releases you'll find components only till 5.2.0.
Retrieving data ...