Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Upgrade ambari 2.4.1 to 2.4.2.0

avatar
Rising Star

Hello,

I try to update ambari 2.4.1 to 2.4.2.0. it don't walk so the only failed error is this :

12514-ambari-serveur.png

I follow this step :

- i download new ambari repo and copy it to /etc/yum.repo.d

- and i execute this commands :

$ yum clean all
$ yum upgrade ambari-server
$ yum info ambari-server 

I don't find what's the problem

Thanks

1 ACCEPTED SOLUTION

avatar
@Baruch AMOUSSOU DJANGBAN

You don't have Ambari2.4.2 version available in your Repo.

First set up repo with Ambari-server2.4.2

and run yum list ambari-server again.

ideally you command will show like

Available Package

Ambari-server2.4.2

Installed Package

Ambari-server2.4.0

Once you are getting available package with 2.4.2 then try to Upgarde.

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@Baruch AMOUSSOU DJANGBAN

What is the output of "yum info ambari-server" command?

Also the output of "ambari-server --version" (If already yum upgraded then you should see latest version).

.

I hope that you have already done the following:

ambari-server stop


wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0/ambari.repo -O /etc/yum.repos.d/ambari.repo

yum clean all
yum info ambari-server
yum repolist | grep ambari

yum update ambari-server

.

Followed by:

ambari-server upgrade

.

avatar
Rising Star

@Jay SenSharma

Yes i follow all step for ambari upgrade and i restart it after your answers. I have following :

yum info ambari-server

12558-commande-yum-info-ambari-server.png

yum repolist | grep ambari
yum upgrade ambari-server
yum upgrade ambari-server

12559-commands-successiv.png

ambari-server upgrade

12560-ambari-upgrade.png

But the version not change. I don't understand why

Thanks

avatar
Rising Star

Hello @Jay SenSharma

Please are you check my output?

avatar
@Baruch AMOUSSOU DJANGBAN

Can you provide out put for

yum list ambari-server

avatar
Rising Star

12575-yum-list-ambari-server.png

@Divakar Annapureddy this is output for the command

avatar
@Baruch AMOUSSOU DJANGBAN

You don't have Ambari2.4.2 version available in your Repo.

First set up repo with Ambari-server2.4.2

and run yum list ambari-server again.

ideally you command will show like

Available Package

Ambari-server2.4.2

Installed Package

Ambari-server2.4.0

Once you are getting available package with 2.4.2 then try to Upgarde.