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

Impala hits DCHECK in ClientRequestState due to invalid state transition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 3.4.0
    • Impala 3.4.0
    • Backend
    • ghx-label-10

    Description

      Some test runs see the coordinator Impalad hit this DCHECK:

      case ExecState::FINISHED:
        // A query can transition from PENDING to FINISHED if it is cancelled by the
        // client.
        DCHECK(old_state == ExecState::PENDING || old_state == ExecState::RUNNING)
            << Substitute(
                error_msg, ExecStateToString(old_state), ExecStateToString(new_state));
        UpdateExecState(new_state);
        break;

      The error message is:

      F1222 23:01:14.020613 10494 client-request-state.cc:951] Check failed: old_state == ExecState::PENDING || old_state == ExecState::RUNNING Illegal state transition: ERROR -> FINISHED

      This happened on one exhaustive run on Centos6 and an s3 run. There doesn't seem to be a pattern, so I'm assuming this is a generic issue.

      Attachments

        1. backtrace.txt
          5 kB
          Joe McDonnell

        Issue Links

          Activity

            People

              stakiar Sahil Takiar
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: