3. Upgrading to Ambari 1.4.1

This process upgrades Ambari Server, Ambari Agents, Ganglia, and Nagios.

[Note]Note

Ambari Server no longer automatically turns iptables off. Check your installation setup to make sure that you are not relying on this function. After you have upgraded the server you must either disable iptables manually or make sure that you have all the appropriate ports available. For more information on the ports that must be open and available, see Configuring Ports for Hadoop 2.x

  1. Upgrade Ambari Server. From the Ambari Server host:

    • RHEL/CentOS/Oracle Linux

      yum clean all
      yum upgrade ambari-server ambari-log4j
    • SLES

      zypper clean
      zypper up ambari-server ambari-log4j
  2. Check for upgrade success:

    • As the process runs, the console should produce output similar, although not identical, to this:

      Setting up Upgrade Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package ambari-agent.x86_64 0:1.2.2.3-1 will be updated
      ---> Package ambari-agent.x86_64 0:1.2.2.4-1 will be updated ...
      ---> Package ambari-agent.x86_64 0:1.2.2.5-1 will be an update ...

      After the process is complete, check each host to make sure the new 1.4.1 files have been installed:

      rpm -qa | grep ambari
    • If the upgrade fails, the console should produce output similar to this:

      Setting up Upgrade Process
      No Packages marked for Update
  3. Check to see if you have a folder named /etc/ambari-server/conf.save. If you do, rename it back:

    mv /etc/ambari-server/conf.save /etc/ambari-server/conf
  4. Upgrade the Ambari Server schema. From the Ambari Server host:

    ambari-server upgrade
  5. Upgrade the Ambari Agent on all hosts. From each Ambari Agent host:

    • RHEL/CentOS/Oracle Linux

      yum upgrade ambari-agent ambari-log4j
    • SLES

      zypper up ambari-agent ambari-log4j
      [Note]Note

      If you get a warning that begins "There are some running programs that use files deleted by recent upgrade" you can ignore it.

  6. Check to see if you have a folder named /etc/ambari-agent/conf.save on each Agent host. If you do, rename it back. On each Agent host:

    mv /etc/ambari-agent/conf.save /etc/ambari-agent/conf
  7. Upgrade the Nagios addons:

    • RHEL/CentOS/Oracle Linux

      yum upgrade hdp_mon_nagios_addons
    • SLES

      zypper up hdp_mon_nagios_addons

loading table of contents...