<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/26815#M5664</link>
    <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;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. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Going to the http://&amp;lt;server ip&amp;gt;:25000/jsonmetrics in the browser, gives the error: Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;There is no legacy-metrics.tmpl file in /usr/lib/impala/www folder. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;http://&amp;lt;server ip&amp;gt;:25000/jsonmetrics returns correct json result on CDH 5.3.3 and there is also no legacy-metrics.tmpl in the folder.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Looking into source code shows a redirect to the file, but the file is nowhere to be found?&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Status MetricGroup::Init(Webserver* webserver) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;if (webserver != NULL) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Webserver::UrlCallback default_callback =&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;bind&amp;lt;void&amp;gt;(mem_fn(&amp;amp;MetricGroup::CMCompatibleCallback), this, _1, _2);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;webserver-&amp;gt;RegisterUrlCallback("/jsonmetrics", "legacy-metrics.tmpl",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;default_callback, false);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Please advise.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:27:15 GMT</pubDate>
    <dc:creator>konstkor</dc:creator>
    <dc:date>2022-09-16T09:27:15Z</dc:date>
    <item>
      <title>Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/26815#M5664</link>
      <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;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. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Going to the http://&amp;lt;server ip&amp;gt;:25000/jsonmetrics in the browser, gives the error: Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;There is no legacy-metrics.tmpl file in /usr/lib/impala/www folder. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;http://&amp;lt;server ip&amp;gt;:25000/jsonmetrics returns correct json result on CDH 5.3.3 and there is also no legacy-metrics.tmpl in the folder.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Looking into source code shows a redirect to the file, but the file is nowhere to be found?&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Status MetricGroup::Init(Webserver* webserver) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;if (webserver != NULL) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Webserver::UrlCallback default_callback =&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;bind&amp;lt;void&amp;gt;(mem_fn(&amp;amp;MetricGroup::CMCompatibleCallback), this, _1, _2);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;webserver-&amp;gt;RegisterUrlCallback("/jsonmetrics", "legacy-metrics.tmpl",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;default_callback, false);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Please advise.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:27:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/26815#M5664</guid>
      <dc:creator>konstkor</dc:creator>
      <dc:date>2022-09-16T09:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/27335#M5665</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 17:15:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/27335#M5665</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2015-05-12T17:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Could not open template: /usr/lib/impala//www//legacy-metrics.tmpl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/27408#M5666</link>
      <description>&lt;P&gt;That was it, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yum repo file was pointing to the old Cloudera Manager repo. After fixin the yum repo file and 'yum update'&lt;/P&gt;&lt;P&gt;with refreshing CM on all nodes, problem was solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using packages not parcels.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 19:03:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-open-template-usr-lib-impala-www-legacy-metrics/m-p/27408#M5666</guid>
      <dc:creator>konstkor</dc:creator>
      <dc:date>2015-05-13T19:03:34Z</dc:date>
    </item>
  </channel>
</rss>

