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

Possibly dangerous interaction between tcmalloc and spilling.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1
    • Impala 2.1
    • None
    • None

    Description

      It seems like the tcmalloc and our spilling operators may interact badly in some cases. Try running TPCH-Q21 repeatedly from the Impala shell. Eventually a run will cause spilling, although there should be enough memory to run it without spilling. You can observe the consumption in /memz going up steadily after each run (and never decreasing). This is somewhat expected due to tcmalloc, but my understanding is that the consumption should eventually go down - which it does not.

      Not marking 2.0 as affected because this behavior may have been introduced in recent unreleased changes. Might be good to verify our tcmalloc behavior is as expected on 2.0

      Attachments

        Activity

          People

            nong_impala_60e1 Nong Li
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: