Download the new software onto each node in the cluster
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 http://public-repo-1.hortonworks.com/HDP/<os>/2.x/updates/2.2.9.0/hdp.repo
where
<os>
iscentos5
orcentos6
.cp hdp.repo /etc/yum.repos.d/
yum repolist
For SLES:
wget http://public-repo-1.hortonworks.com/HDP/<os>/2.x/updates/2.2.9.0/hdp.repo
where
<os>
issuse11sp3
orsles11sp1
.cp hdp.repo /etc/zypp/repos.d
zypper repos
For Ubuntu or Debian:
wget http://public-repo-1.hortonworks.com/HDP/<os>/2.x/updates/2.2.9.0/hdp.list
where
<os>
isubuntu12
ordebian6
.cp hdp.list /etc/apt/sources.list.d
apt-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_9_0_$BUILD*
For SLES:
zypper install hive_2_2_9_0_$BUILD*
For Ubuntu and Debian:
apt-get install 'hive_2_2_9_0_$BUILD*'
Appendix B contains a partial list of HDP 2.2.9 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.9.0-$BUILD current