Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Upgrade ambari 2.4.1 to 2.4.2.0

Solved Go to solution

Upgrade ambari 2.4.1 to 2.4.2.0

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

Accepted Solutions
Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

@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
Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

Super 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

.

Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

@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

Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

Hello @Jay SenSharma

Please are you check my output?

Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

@Baruch AMOUSSOU DJANGBAN

Can you provide out put for

yum list ambari-server

Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

12575-yum-list-ambari-server.png

@Divakar Annapureddy this is output for the command

Highlighted

Re: Upgrade ambari 2.4.1 to 2.4.2.0

@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

Don't have an account?
Coming from Hortonworks? Activate your account here