Created 05-29-2017 11:52 AM
Im using Ubuntu 14.
I am upgrading ambari from 2.4 to 2.5. When upgrading ambari metrics and ambari grafana I get the following error messages:
Unable to locate package ambari-metrics-collector
Unable to locate package ambari-metrics-grafana
Im following the upgrade documentation from here: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-upgrade/content/upgrade_ambari_me...
If I run sudo apt-cache showpkg ambari-*
I do get some ambari packages but not these two. What am I missing?
Created 05-31-2017 07:27 PM
Just 'apt-get install ambari-metrics-assembly' should be sufficient for upgrading Ambari metrics on Ubuntu 14. Can you confirm by checking the ambari-metrics-*.jar versions in /usr/lib/ambari-metrics-collector.
root@avijayan-ubuntu-1:~# ls /usr/lib/ambari-metrics-collector/ambari-metrics-* /usr/lib/ambari-metrics-collector/ambari-metrics-common-2.5.0.3.7.jar /usr/lib/ambari-metrics-collector/ambari-metrics-timelineservice-2.5.0.3.7.jar
Created 05-29-2017 05:15 PM
Encountering the exact same currently, also on Ubuntu 14 and also upgrading from 2.4 to 2.5, any help greatly appreciated.
Created 05-31-2017 07:27 PM
Just 'apt-get install ambari-metrics-assembly' should be sufficient for upgrading Ambari metrics on Ubuntu 14. Can you confirm by checking the ambari-metrics-*.jar versions in /usr/lib/ambari-metrics-collector.
root@avijayan-ubuntu-1:~# ls /usr/lib/ambari-metrics-collector/ambari-metrics-* /usr/lib/ambari-metrics-collector/ambari-metrics-common-2.5.0.3.7.jar /usr/lib/ambari-metrics-collector/ambari-metrics-timelineservice-2.5.0.3.7.jar
Created 06-01-2017 05:28 AM
@Aravindan Vijayan yes, Ive done that part. Its been working since the upgrade. Maybe the documentation should be updated so it is not confusing. I remember running into sth similar whne upgrading to 2.4 last year.
Speaking of documentation, it should be more obvious with regards to grafana when upgrading from 2.5 to 2.6, since in 2.5 Grafana is already a part of the stack, but the upgrade docs consider it as a service that must be installed and not how to upgrade it (or if there is an upgrade).