Here is the full stack java.lang.IllegalStateException) Cleanup before finished. 0out of 1 strams h ave finished org.apache.drill.exec.work.batch.BaseRawBatchBuffer.close():116 org.apache.drill.exec.work.batch.SpoolingRawBatchBuffer.close():274 org.apache.drill.common.AutoCloseables.close():50 org.apache.drill.exec.work.batch.AbstractDataCollector.close():134 org.apache.drill.common.AutoCloseables.close():50 org.apache.drill.exec.work.batch.IncomingBuffers.close():115 org.apache.drill.exec.ops.FragmentContext.suppressingClose():405 org.apache.drill.exec.ops.FragmentContext.close():398 org.apache.drill.exec.work.fragment.FragmentExecutor.closeOutResources():351
org.apache.drill.exec.work.fragment.FragmentExecutor.cleanup():176 org.apache.drill.exec.work.fragment.FragmentExecutor.run():295 org.apache.drill.common.SelfCleaningRunnable.run():38 java.util.concurrent.ThreadPoolExecutor.runWorker():1145 java.util.concurrent.ThreadPoolExecutor$Worker.run():615 java.lang.Thread.run():745 atsqlline.IncrementalRows.hasNext(IncrementalRows.java:73) atsqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat .java:87) atsqlline.TableOutputFormat.print(TableOutputFormat.java:118) atsqlline.SqlLine.print(SqlLine.java:1583) atsqlline.Commands.execute(Commands.java:852) atsqlline.Commands.sql(Commands.java:751) atsqlline.SqlLine.dispatch(SqlLine.java:738) at sqlline.SqlLine.begin(SqlLine.java:612) atsqlline.SqlLine.start(SqlLine.java:366) atsqlline.SqlLine.main(SqlLine.java:259) Le Mercredi 23 septembre 2015 13h25, Boris Chmiel <boris.chm...@yahoo.com.INVALID> a écrit : Hi users, I have 2 views built around the same query logic for 2 distincts datasets. Both were running well days ago.The data doesnot change since then, but the first query fails, returning this error : java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: IllegalStateException: Cleanup before finished. 0 out of 1 strams have finished I checked that the underlying dataset is not corrupted by running other queries on it. Anyone an idea ? ThanksBoris