[ https://issues.apache.org/jira/browse/DRILL-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092326#comment-15092326 ]
Deneche A. Hakim commented on DRILL-4246: ----------------------------------------- This may be related: {{TestFlatten.testFlatten_Drill2162_simple}} is failing with a similar error: {noformat} testFlatten_Drill2162_simple(org.apache.drill.exec.physical.impl.flatten.TestFlatten) Time elapsed: 0.244 sec <<< ERROR! org.apache.drill.exec.rpc.RpcException: org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: IllegalStateException: allocator[op:0:0:0:Screen]: buffer space (0) + prealloc space (0) + child space (0) != allocated (1048576) Fragment 0:0 [Error Id: c8059885-a6c4-4e6c-81f5-324e83390c94 on 172.30.1.113:31013] (java.lang.IllegalStateException) allocator[op:0:0:0:Screen]: buffer space (0) + prealloc space (0) + child space (0) != allocated (1048576) org.apache.drill.exec.memory.BaseAllocator.verifyAllocator():653 org.apache.drill.exec.memory.BaseAllocator.verifyAllocator():528 org.apache.drill.exec.memory.BaseAllocator.close():419 org.apache.drill.exec.ops.OperatorContextImpl.close():124 org.apache.drill.exec.ops.FragmentContext.suppressingClose():416 org.apache.drill.exec.ops.FragmentContext.close():405 org.apache.drill.exec.work.fragment.FragmentExecutor.closeOutResources():346 org.apache.drill.exec.work.fragment.FragmentExecutor.cleanup():179 org.apache.drill.exec.work.fragment.FragmentExecutor.run():290 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 at org.apache.drill.exec.rpc.RpcException.mapException(RpcException.java:60) at org.apache.drill.exec.client.DrillClient$ListHoldingResultsListener.getResults(DrillClient.java:424) at org.apache.drill.exec.client.DrillClient.runQuery(DrillClient.java:321) at org.apache.drill.BaseTestQuery.testRunAndReturn(BaseTestQuery.java:318) at org.apache.drill.DrillTestWrapper.compareUnorderedResults(DrillTestWrapper.java:316) at org.apache.drill.DrillTestWrapper.run(DrillTestWrapper.java:126) at org.apache.drill.TestBuilder.go(TestBuilder.java:129) at org.apache.drill.exec.physical.impl.flatten.TestFlatten.testFlatten_Drill2162_simple(TestFlatten.java:189) {noformat} > New allocator causing a flatten regression test to fail with > IllegalStateException > ---------------------------------------------------------------------------------- > > Key: DRILL-4246 > URL: https://issues.apache.org/jira/browse/DRILL-4246 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Relational Operators > Affects Versions: 1.5.0 > Reporter: Deneche A. Hakim > Assignee: Jacques Nadeau > Priority: Blocker > > We are seeing the following error in the test cluster: > {noformat} > /framework/resources/Functional/flatten_operators/100000rows/filter3.q > Query: > select uid, flatten(events) from `data.json` where uid > 1 > Failed with exception > java.sql.SQLException: SYSTEM ERROR: IllegalStateException: Unaccounted for > outstanding allocation (851968) > Allocator(op:0:0:0:Screen) 1000000/851968/1941504/10000000000 > (res/actual/peak/limit) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)