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

Hit IllegalStateException when exec.queue.enable=ture

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: Functions - Drill
    • Labels:
      None
    • Environment:

      git.commit.id=6dea429949a3d6a68aefbdb3d78de41e0955239b

      Description

      0: jdbc:drill:schema=dfs.parquet> select * from sys.options;
      Error: SYSTEM ERROR: IllegalStateException: Failure trying to change states: ENQUEUED --> RUNNING

      [Error Id: 6ac8167c-6fb7-4274-9e5c-bf62a195c06e on ucs-node5.perf.lab:31010]

      (org.apache.drill.exec.work.foreman.ForemanException) Unexpected exception during fragment initialization: Exceptions caught during event processing
      org.apache.drill.exec.work.foreman.Foreman.run():261
      java.util.concurrent.ThreadPoolExecutor.runWorker():1145
      java.util.concurrent.ThreadPoolExecutor$Worker.run():615
      java.lang.Thread.run():745
      Caused By (java.lang.RuntimeException) Exceptions caught during event processing
      org.apache.drill.common.EventProcessor.sendEvent():93
      org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState():792
      org.apache.drill.exec.work.foreman.Foreman.moveToState():909
      org.apache.drill.exec.work.foreman.Foreman.runPhysicalPlan():420
      org.apache.drill.exec.work.foreman.Foreman.runSQL():926
      org.apache.drill.exec.work.foreman.Foreman.run():250
      java.util.concurrent.ThreadPoolExecutor.runWorker():1145
      java.util.concurrent.ThreadPoolExecutor$Worker.run():615
      java.lang.Thread.run():745
      Caused By (java.lang.IllegalStateException) Failure trying to change states: ENQUEUED --> RUNNING
      org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent():896
      org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent():790
      org.apache.drill.common.EventProcessor.sendEvent():73
      org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState():792
      org.apache.drill.exec.work.foreman.Foreman.moveToState():909
      org.apache.drill.exec.work.foreman.Foreman.runPhysicalPlan():420
      org.apache.drill.exec.work.foreman.Foreman.runSQL():926
      org.apache.drill.exec.work.foreman.Foreman.run():250
      java.util.concurrent.ThreadPoolExecutor.runWorker():1145
      java.util.concurrent.ThreadPoolExecutor$Worker.run():615
      java.lang.Thread.run():745 (state=,code=0)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hgunes Hanifi Gunes
                Reporter:
                dechanggu Dechang Gu
                Reviewer:
                Victoria Markman
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: