Created 03-02-2018 10:19 PM
Hi everyone,
We are currently facing a problem in our recent cluster upgrade. After upgrading Ambari and HDP from version HDP-2.6.0.3 to HDP-2.6.4.0, 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
Created 03-03-2018 10:18 AM
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.
Pierre
Created 03-03-2018 11:20 AM
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-2.6.0.3.
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,
Carlos
Created 03-03-2018 01:46 PM
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-2.6.4.0
If that does not help, I'd try looking at the 'host component state' table in Ambari database.
Created 03-03-2018 03:47 PM
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,
Carlos
Created 03-06-2018 12:42 AM
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.
Created 03-07-2018 06:15 PM
I'm facing the same issue.
Created 03-07-2018 09:16 PM
Hi Gunar, I created an ambari jira issue. If you want to comment on it also: https://issues.apache.org/jira/browse/AMBARI-23138
Maybe it helps patching the issue in future releases.
Created on 06-02-2018 11:25 AM - edited 08-17-2019 05:17 PM
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.....
Created 06-02-2018 11:42 AM
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
Created on 06-02-2018 01:19 PM - edited 08-17-2019 05:17 PM
@ Geoffrey Shelton Okot Everything seems fine here, as it's pointing to the right directories (current version).
Best regards,
Carlos Costa
Created 06-05-2018 03:03 AM
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.