HDP-2.3.4 Release Notes
Also available as:
PDF

Upgrade Procedure

[Important]Important

Hortonworks strongly recommends that all users running HDP 2.3.4 upgrade to HDP 2.3.4.7.

To upgrade your cluster from HDP 2.3.x to HDP 2.3.4:

  1. Download the appropriate HDP 2.3.4 hdp.repo file for your OS:

    or

    Download the HDP RPM single repository tarball. (For information on how to install the repositories, see the local repository instructions.)

  2. Run an update:

    apt-get update

  3. Install the HDP 2.3.4 bits:

    Operating System

    Commands

    RHEL/CentOS/Oracle LINUX

    Install HDP 2.3.4 components on relevant nodes, according to the services that run on those hosts:

    yum install "hadoop_2_3_4_3485*" "oozie_2_3_4_3485*" "pig_2_3_4_3485*" "sqoop_2_3_4_3485*" "zookeeper_2_3_4_3485*" "hbase_2_3_4_3485*" "hive_2_3_4_3485*" "tez_2_3_4_3485*" "storm_2_3_4_3485*" "falcon_2_3_4_3485*" "flume_2_3_4_3485*" "phoenix_2_3_4_3485*" "accumulo_2_3_4_3485*" "mahout_2_3_4_3485*"

    SLES

    Install HDP 2.3.4 components on relevant nodes, according to the services that run on those hosts:

    zypper install "hadoop_2_3_4_3485*" "oozie_2_3_4_3485*" "pig_2_3_4_3485*" "sqoop_2_3_4_3485*" "zookeeper_2_3_4_3485*" "hbase_2_3_4_3485*" "hive_2_3_4_3485*" "tez_2_3_4_3485*" "storm_2_3_4_3485*" "falcon_2_3_4_3485*" "flume_2_3_4_3485*" "phoenix_2_3_4_3485*" "accumulo_2_3_4_3485*" "mahout_2_3_4_3485*"

    Ubuntu/Debian

    Install HDP 2.3.4 components on relevant nodes, according to the services that run on those hosts:

    apt-get install "hadoop-2-3-4-3485*" "oozie-2-3-4-3485*" "pig-2-3-4-3485*" "sqoop-2-3-4-3485*" "zookeeper-2-3-4-3485*" "hbase-2-3-4-3485*" "hive-2-3-4-3485*" "tez-2-3-4-3485*" "storm-2-3-4-3485*" "falcon-2-3-4-3485*" "flume-2-3-4-3485*" "phoenix-2-3-4-3485*" "accumulo-2-3-4-3485*" "mahout-2-3-4-3485*"

  4. Stop all HDP 2.3.x Services for your scenario:

    • For non-Ambari managed clusters:

      1. Stop all HDP 2.3.x services using the Stopping HDP Services section of the HDP Reference Guide.

    • For Ambari 1.7.0-managed clusters:

      1. Open Ambari Web.

      2. Browse to Services.

      3. Use Service Actions to stop each service.

  5. For all services, switch the active version to HDP 2.3.4.

    On each host in the cluster, use hdp-select to switch all services to the HDP 2.3.4 version:

    hdp-select set all <hdp2.3.4 version>

  6. Complete the Stack Upgrade for your scenario:

  7. Start all HDP 2.3.4 services, in the following order:

    1. ZooKeeper

      su - zookeeper export ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf ; export ZOOCFG=zoo.cfg; source /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ; /usr/hdp/current/zookeeper-server/bin/zkServer.sh start

    2. (HA NameNode upgrade only) ZooKeeper Failover Controller Daemons

      /usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start zkfc

    3. (HA NameNode upgrade only) JournalNodes

      su - hdfs /usr/hdp/current/hadoop-hdfs-journalnode/../hadoop/sbin/hadoop-daemon.sh start journalnode

    4. HDFS NameNode(s)

      Start the HDFS NameNode(s). Because there is no metadata schema update for this upgrade, start the NameNode(s) in normal mode:

      su - hdfs /usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start namenode

    5. Remaining Services

      Start the rest of the HDP services. On each host in the cluster, start the services that are relevant to that cluster. To identify the start commands for all services, see "Controlling HDP Services Manually" in the HDP Reference Guide.

    You now have an upgraded cluster. Ensure that your workloads run correctly on this upgraded cluster.