Upgrading Hadoop and YARN
This section describes how to upgrade Hadoop and YARN without the Installer.
About this task
Procedure
                Run the following command to upgrade Hadoop and YARN using a package
                    manager:
                
                    
                
                
IMPORTANT
 Upgrade all Hadoop packages installed on the node,
                        including role packages. For information about the packages, see Installing Hadoop and YARN.- On
                        RHEL/CentOS:
yum update <package_name> <package_name> <package_name> <package_name> - On Ubuntu:
                        
apt-get install <package_name> <package_name> <package_name> <package_name> - On
                        SLES:
zypper update <package_name> <package_name> <package_name> <package_name>