[ 
https://issues.apache.org/jira/browse/IMPALA-11326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545170#comment-17545170
 ] 

Michael Smith commented on IMPALA-11326:
----------------------------------------

Turns out our tests use {{/jsonmetrics?json}}, which returns the raw JSON input 
rather than looking up the template.

> Legacy /jsonmetrics endpoint fails in dev build
> -----------------------------------------------
>
>                 Key: IMPALA-11326
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11326
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.7.0
>            Reporter: Michael Smith
>            Priority: Minor
>
> Querying the webserver's {{/jsonmetrics}} endpoint results in
> {code}
> $ curl localhost:25000/jsonmetrics
> Could not open template: /home/michael/Impala//www//legacy-metrics.tmpl
> {code}
> https://github.com/apache/impala/commit/0c2a71576fb2954ca97d4f8225a60b93eab8594a
>  changed how that endpoint is served, but didn't add {{legacy-metrics.tmpl}}.
> Since no one's filed a bug on this in the 6 years since 2.7.0 was released, 
> maybe that endpoint can be removed. However it's possible that other 
> packaging adds {{legacy-metrics.tmpl}} so it's usable outside of development.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to