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

Send the final profile only after all fragment instances have been closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 3.2.0
    • Impala 3.2.0
    • Distributed Exec
    • None

    Description

      As shown in IMPALA-7828. there is some non-determinism on whether the errors detected in FragmentInstanceState::Close() will show up in the final profile sent to the coordinator. The reason is that the current code marks a fragment instance "done" after ExecInternal() completes but before Close() is called. There is a window in between when the final status report may be sent before Close() finishes. We should consider not sending the final report until Close() is done but we probably need to understand whether it has any implication to the overall reported query execution time. It should have no effect to the "First Rows Available" time for a query.

      Attachments

        Activity

          People

            kwho Michael Ho
            kwho Michael Ho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: