Step 2: Apply the Patch to Data Nodes
Apply the patch to nodes dedicated to storing and processing data prior to applying the patch on nodes that run the CLDB. This includes nodes that run the Fileserver for storage and processing components such as the Node Manager and the HBase client.
About this task
Complete the following steps on each data node:
Procedure
-
Stop the MapR Warden and ZooKeeper (if installed) services:
-
If there is already a patch installed on the cluster, run one of the following
commands to uninstall it:
- On CentOS/Redhat:
sudo rpm -e mapr-patch
- On SUSE:
sudo zypper remove mapr-patch
- On Ubuntu:
sudo apt-get -y remove mapr-patch
- On CentOS/Redhat:
-
Install the patch using one of the following commands:
- On CentOS/RedHat:
sudo rpm -ivh mapr-patch-<new_patch_number>.rpm
- On SUSE:
sudo zypper install mapr-patch-<new_patch_number>.rpm
- On Ubuntu:
sudo dpkg -i mapr-patch<new_patch_number>.deb
- On CentOS/RedHat:
-
Start the MapR Warden and ZooKeeper (if installed) services:
-
To verify that the patch was installed successfully, run one of the following
commands:
- On CentOS/Redhat or SUSE:
sudo rpm -ql mapr-patch-<new_patch_number>
- On Ubuntu:
sudo dpkg -l | grep mapr-patch-<new_patch_number>
- On CentOS/Redhat or SUSE: