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