Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2927

Pending query in resource queue starts after timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • Execution - Flow
    • None
    • Drill 0.8 released version.

    Description

      I set small queue to allow only 1 concurrent query:
      alter system set `exec.queue.enable`=TRUE;
      alter system set `exec.queue.small`=1;

      When running 2 small queries, one of them is pending which is expected.
      (See pic 1)

      ​After about 5mins(exec.queue.timeout_millis), the pending SQL starts. now we have 2 queries running in small queue.
      (See pic 2)

      Attachments

        1. Screen Shot 2015-04-30 at 11.01.25 AM.png
          33 kB
          Hao Zhu
        2. Screen Shot 2015-04-30 at 11.07.21 AM.png
          34 kB
          Hao Zhu
        3. DRILL-2927.patch
          1 kB
          Jacques Nadeau

        Activity

          People

            jnadeau Jacques Nadeau
            haozhu Hao Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: