Created on 04-28-2015 01:52 PM - edited 09-16-2022 02:27 AM
On Impala 2.2 after CDH 5.4.0 upgrade from CDH 5.3.3 (CentOS 6.6) I am getting IMPALA_STATESTORE_HEALTH has become bad error for each Impala Deamon node.
Going to the http://<server ip>:25000/jsonmetrics in the browser, gives the error: Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl
There is no legacy-metrics.tmpl file in /usr/lib/impala/www folder.
http://<server ip>:25000/jsonmetrics returns correct json result on CDH 5.3.3 and there is also no legacy-metrics.tmpl in the folder.
Looking into source code shows a redirect to the file, but the file is nowhere to be found?
Status MetricGroup::Init(Webserver* webserver) {
if (webserver != NULL) {
Webserver::UrlCallback default_callback =
bind<void>(mem_fn(&MetricGroup::CMCompatibleCallback), this, _1, _2);
webserver->RegisterUrlCallback("/jsonmetrics", "legacy-metrics.tmpl",
default_callback, false);
Please advise.
Created 05-12-2015 10:15 AM
Have you upgraded Cloudera Manager at the same time? The way in which CM retrieves metric data from Impala changed in CDH5.4, and should be using /jsonmetrics?json as the URL.
Created 05-12-2015 10:15 AM
Have you upgraded Cloudera Manager at the same time? The way in which CM retrieves metric data from Impala changed in CDH5.4, and should be using /jsonmetrics?json as the URL.
Created 05-13-2015 12:03 PM
That was it, thank you!
yum repo file was pointing to the old Cloudera Manager repo. After fixin the yum repo file and 'yum update'
with refreshing CM on all nodes, problem was solved.
I am using packages not parcels.