The new version will reside alongside the existing version.
On each node of the cluster, download and set up the repo file for the new version. Confirm that the HDP repository is configured.
For RHEL, CentOS, or Oracle Linux, run the following commands.
wget https://hdpweb.o.onslip.net/HDP/<os>/2.x/updates/2.2.4.2/hdp.repowhere
<os>iscentos5orcentos6.cp hdp.repo /etc/yum.repos.d/yum repolistFor SLES:
wget https://hdpweb.o.onslip.net/HDP/<os>/2.x/updates/2.2.4.2/hdp.repowhere
<os>issuse11sp3orsles11sp1.cp hdp.repo /etc/zypp/repos.dzypper reposFor Ubuntu or Debian:
wget https://hdpweb.o.onslip.net/HDP/<os>/2.x/updates/2.2.4.2/hdp.listwhere
<os>isubuntu12ordebian6.cp hdp.list /etc/apt/sources.list.dapt-get list
Install the new version of software on each node, based on the component topology of your cluster.
For example, some nodes will have core Hadoop components; others will have Zookeeper processes. If only one node has the Hive Server deployed and running, install the new version of Hive on that node. Include the new version number.
For RHEL, CentOS, or Oracle Linux:
yum install hive_2_2_4_2_2*For SLES:
zypper install hive_2_2_4_2_2*For Ubuntu and Debian:
apt-get install 'hive_2_2_4_2_2*'
Appendix B contains a partial list of HDP 2.2.4 package names.
At the end of this process your cluster will still be running your current software. The
new software will be stored in a new directory on each node. You will see the following
directories in /usr/hdp:
2.2.0.0-2041 2.2.4.2-2 current

