Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5454

JVM metrics don't show up on /memz sometimes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: None
    • Labels:
      None
    • Epic Color:
      ghx-label-1

      Description

      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:

      {{?b}} {{#b}}  {{/b}} {{/b}}
      

      If 'b' is not present, the parser tries to skip to the closing

      {{/b}}

      , but does not take into account nesting and matches the first closing

      {{/b}}

      , not the second. Parsing then fails.

      This JIRA is to track the workaround - rewriting the templates not to use nesting. The upstream project can fix the underlying issue independently.

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              henryr Henry Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: