Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade Ambari Server

  1. Upgrade Ambari Server. On the host running Ambari Server:

    • For RHEL/CentOS/Oracle Linux:

      yum clean all
      yum info ambari-server

      In the info output, visually validate that there is an available version containing "2.6"

      yum upgrade ambari-server
    • For SLES:

      zypper clean
      zypper info ambari-server

      In the info output, visually validate that there is an available version containing "2.6"

      zypper up ambari-server
    • For Ubuntu/Debian:

      apt-get clean all
      apt-get update
      apt-cache show ambari-server | grep Version 

      In the info output, visually validate that there is an available version containing "2.6"

      apt-get install ambari-server 
    [Important]Important

    When performing upgrade on SLES, you will see a message "There is an update candidate for 'ambari-server', but it is from different vendor. Use 'zypper install ambari-server-2.6.1-143.noarch' to install this candidate". You will need to use yast to update the package, as follows:

    1. From the command line run: > yast.

      > yast

      You will see command line UI for YaST program.

    2. Choose Software > Software Management, then click the Enter button.

    3. In the Search Phrase field, enter ambari-server, then click the Enter button.

    4. On the right side you will see the search result ambari-server 2.6. Click Actions, choose Update, then click the Enter button.

    5. Go to Accept, and click enter.

  2. Check for upgrade success by noting progress during the Ambari Server installation process you started in Step 5.

    • As the process runs, the console displays output similar, although not identical, to the following:

      Setting up Upgrade Process Resolving Dependencies --> Running transaction check

    • If the upgrade fails, the console displays output similar to the following:

      Setting up Upgrade Process No Packages marked for Update

    • A successful upgrade displays output similar to the following:

      Updated: ambari-server.noarch 0:2.6.1-143 Complete!

    [Note]Note

    Confirm there is only one ambari-server*.jar file in /usr/lib/ambari-server. If there is more than one JAR file with name ambari-server*.jar, move all JARs except ambari-server-2.6.*.jar to /tmp before proceeding with upgrade.