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

Queries in admission control pool queue stay in the queue even after end client had already disconnected.

    XMLWordPrintableJSON

Details

    • ghx-label-3

    Description

      Steps to reproduce :-
      ------------------------------

      1) Set Impala admission control queue concurrency to 1.

      2) Submitting a long running query. Anything submitted after this query will be queued.

      3) Submit another query. This query will get queued due to admission control queue concurrency of 1.

      4) Disconnect the client that submitted the query in step 3, above.

      Expected observation :-
      ------------------------------

      Ideally you would want that the query submitted in step 3 to get canceled as soon as the client disconnects.

      What happens :-
      ------------------------

      Query submitted in step 3 stays in the queue until it gets a chance to execute. This causes the coordinator to start the fragments and then realize that the client had already disconnected.

      Attachments :-
      ------------------------
      1. impala.log
      2. profile_submitted_in_step_2.txt ==> query profile
      3. profile_submitted_in_step_3.txt ==> query profile
      4. ScreenShotSessions_ImpalaDebugWebPage.png ==> Screen shot of sessions as seen from Impala debug web page.

      Attachments

        1. ScreenShotSessions_ImpalaDebugWebPage.png
          94 kB
          Sudarshan
        2. profile_submitted_in_step_3.txt
          25 kB
          Sudarshan
        3. profile_submitted_in_step_2.txt
          53 kB
          Sudarshan
        4. impala.log
          138 kB
          Sudarshan

        Issue Links

          Activity

            People

              bikramjeet.vig Bikramjeet Vig
              SudarshanS Sudarshan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: