You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2017/06/07 22:20:18 UTC
[jira] [Created] (IMPALA-5454) JVM metrics don't show up on /memz
sometimes
Henry Robinson created IMPALA-5454:
--------------------------------------
Summary: JVM metrics don't show up on /memz sometimes
Key: IMPALA-5454
URL: https://issues.apache.org/jira/browse/IMPALA-5454
Project: IMPALA
Issue Type: Bug
Affects Versions: Impala 2.9.0
Reporter: Henry Robinson
Assignee: Henry Robinson
Due to a bug in {{mustache.cc}}, {{memz.tmpl}} template rendering fails if the {{buffer_pool}} JSON entry is not generated.
The bug is that nested template commands with the same key aren't correctly parsed:
{code}
{{?b}} {{#b}} {{/b}} {{/b}}
{code}
If '{{b}}' is not present, the parser tries to skip to the closing {code}{{/b}}{code}, but does not take into account nesting and matches the first closing {code}{{/b}}{code}}, not the second. Parsing then fails.
This JIRA is to track the workaround - rewriting the templates not to use nesting. The [upstream project|https://github.com/HenryR/cpp-mustache] can fix the underlying issue independently.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)