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

Fault injection at DescriptorTbl::Create() can lead to query hang

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.11.0
    • Component/s: Backend
    • Labels:
      None

      Description

      When doing fault injection testing, I found that QueryState::ReportExecStatusAux() does not include enough information for the coordinator to detect an error when 'fis' is null. Specifically, TReportExecStatusParam does not include status unless a TFragmentInstanceExecStatus is inserted into instance_exec_status, and that structure requires a fragment instance id. For a general error (such as one reported via ReportExecStatusAux() in QueryState::StartFInstances() when DescriptorTbl::Create() fails), this lack of status information means that the coordinator will never detect that the query failed for certain error condtitions.

      TReportExecStatusParam needs to include a general status field for reporting this information.

        Attachments

          Activity

            People

            • Assignee:
              joemcdonnell Joe McDonnell
              Reporter:
              joemcdonnell Joe McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: