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

JVM metrics don't show up on /memz sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.10.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: