Support Questions

Find answers, ask questions, and share your expertise

Ambari shows old versions of services after upgrade to ambari and HDP (from HDP


Hi everyone,

We are currently facing a problem in our recent cluster upgrade. After upgrading Ambari and HDP from version HDP- to HDP-, the services have been updated but the page where we can install new services still shows older versions of the services. We want to install the new version of Druid, for example, but the older version is the only one available for installation.

Can you please help us? You can find two images illustrating the situation. Please feel free to ask for more information if you need it.


Thanks in advance,

Carlos Costa


Hi Carlos,

It sounds like a display bug. Did you try a force refresh in your browser?

To be honest, I believe that the correct version will be installed if you add Druid because it'll rely on the repository files deployed when you installed the new version.



Hi Pierre, at first glance I thought that also. But I have already refreshed the browser an tried to install druid, but it points out to the old repos and versions from HDP-

I'm thinking about a problem with the ambari database structure. But I don't know if that it's the right path to follow from here.

Thank you for your attention,


OK, that's weird because the correct version is displayed as current on your hosts. You could try the following:

ambari-server set-current --cluster=hdplid4 --version-display-name=HDP-

If that does not help, I'd try looking at the 'host component state' table in Ambari database.


Unfortunately ambari-server set-current gives me error 500 - internal server error - and I checked that table, everything seems updated to the last version - first attachment - (but that only shows the components already installed in the cluster, not services that are not installed - e.g., druid).

Other information I checked: the table repo_version includes two entries (the new repo and the old one. The old one its marked as legacy); Other tables related to repo_version_id are illustrated in the attachments of this message, but I'm not sure if any modifications to these tables will produce desirable results.

If anyone can help me, it would be wonderful. I do not want to manually remove entries in a database that I'm not completely familiar with. We need to start developing applications for Druid in our scientific research, and formatting the cluster would be really cumbersome at this moment.

Kind regards,




Does anyone know where Ambari searches for this information? Is it in the ambari database? Or is it in xml/json files? I searched throughout the database, /var/lib/ambari-server/resources/..., and the github repo but I didn't arrive to any conclusion. Thanks.

@Pierre Villard

I'm facing the same issue.


Hi Gunar, I created an ambari jira issue. If you want to comment on it also:

Maybe it helps patching the issue in future releases.


I have the same issue. I added spark2 zeppelin.

it went well.


But when I restart ambari server, ambari-server started but the newly component is not shown:


@Jay Kumar SenSharma, @Sagar Shimpi, @Kuldeep Kulkarni, @vsharma @gaurav sharma, @Jagatheesh Ramakrishnan

Thanks in advance whoever can help to resolve this.....


@S Mahapatra

Are you sure your symlink is okay? Can you run the below command to validate that your environment is pointng to the crrect version

$ ll /usr/hdp/current/

Please revert



@ Geoffrey Shelton Okot Everything seems fine here, as it's pointing to the right directories (current version).

Best regards,

Carlos Costa


yes it is pointing to 2.6.4 Even I can use Zeppelin and Spark 2 on the cluster without any issue.

However it is not showing in the left side menue of ambari web console.