Home Forums HDP on Linux – Installation Cannot upgrade ambari

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Jeff Sposetti 3 months, 1 week ago.

  • Creator
    Topic
  • #53635

    Fazlan Nazeem
    Participant

    I have installed ambari server 1.2.0.1-1 in CentoS 5.4. I need to upgrade it to version 1.5,1. Documentation says that in order to update Ambari Server version is 1.2.4 or below, we must upgrade the Ambari Server version to 1.2.5 before upgrading to version 1.5.1.

    But when I try to update it to version 1.2.5 it fails.

    I followed this documentation http://docs.hortonworks.com/HDPDocuments/Ambari-1.5.1.0/bk_upgrading_Ambari/content/ambari-chap7.html.

    This is the output

    [root@localhost sbin]# yum upgrade ambari-server-1.2.5.17 ambari-log4j-1.2.5.17
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    * addons: mirror.learn.ac.lk
    * base: mirror.learn.ac.lk
    * epel: mirror.nus.edu.sg
    * extras: mirror.learn.ac.lk
    * updates: mirror.learn.ac.lk
    AMBARI-1.x | 951 B 00:00
    AMBARI-1.x/primary | 1.9 kB 00:00
    AMBARI-1.x 5/5
    HDP-UTILS-1.1.0.15 | 951 B 00:00
    HDP-UTILS-1.1.0.15/primary | 13 kB 00:00
    HDP-UTILS-1.1.0.15 52/52
    addons | 1.9 kB 00:00
    addons/primary_db | 1.1 kB 00:00
    base | 1.1 kB 00:00
    base/primary | 1.3 MB 00:01
    base 3662/3662
    epel | 3.7 kB 00:00
    epel/primary_db | 3.9 MB 00:05
    extras | 2.1 kB 00:00
    extras/primary_db | 173 kB 00:00
    updates | 1.9 kB 00:00
    updates/primary_db | 470 kB 00:00
    Setting up Upgrade Process
    Error: No Package Matching ambari-server-1.2.5.17

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #53643

    Jeff Sposetti
    Moderator

    Can you post the contents of your /etc/yum.repos.d/ambari.repo file? You’ll want to make sure 1.2.5 updates repo is registered.

    [Updates-ambari-1.2.5.17]
    name=ambari-1.2.5.17 – Updates
    baseurl=http://public-repo-1.hortonworks.com/ambari/centos5/1.x/updates/1.2.5.17
    gpgcheck=1
    gpgkey=http://public-repo-1.hortonworks.com/ambari/centos5/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    enabled=1
    priority=1

    Collapse
Viewing 1 replies (of 1 total)