[ 
https://issues.apache.org/jira/browse/DRILL-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Rogers updated DRILL-5073:
-------------------------------
    Description: 
Run the test {{DrillSeparatePlanningTest.testPlanning}}. (Or, run the whole 
{{DrillSeparatePlanningTest}}) test. You will see the exception shown below.

This is an error in the server, not reported to the client and therefore not 
causing the test itself to fail. It is, however, a real error that must be 
fixed.

{code}
[BitClient-2] ERROR o.a.d.exec.rpc.RpcExceptionHandler - Exception in RPC 
communication.  Connection: /172.30.1.66:54074 <--> /172.30.1.66:31015 (data 
client).  Closing connection.
java.lang.IllegalStateException: Attempting operation on allocator when 
allocator is closed.
Allocator(ROOT) 0/0/65688912/3817865216 (res/actual/peak/limit)
  child allocators: 0
  ledgers: 0
  reservations: 0

        at 
org.apache.drill.exec.memory.BaseAllocator.assertOpen(BaseAllocator.java:108) 
~[classes/:na]
        at 
org.apache.drill.exec.memory.BaseAllocator.buffer(BaseAllocator.java:189) 
~[classes/:na]
        at 
org.apache.drill.exec.memory.DrillByteBufAllocator.buffer(DrillByteBufAllocator.java:49)
 ~[classes/:na]
        at 
org.apache.drill.exec.memory.DrillByteBufAllocator.ioBuffer(DrillByteBufAllocator.java:64)
 ~[classes/:na]
        at 
io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)
 ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)
 ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
 [netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
 [netty-common-4.0.27.Final.jar:4.0.27.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
{code}

  was:
Run the test DrillSeparatePlanningTest.testPlanning. (Or, run the whole 
DrillSeparatePlanningTest) test. You will see the exception shown below.

This is an error in the server, not reported to the client and therefore not 
causing the test itself to fail. It is, however, a real error that must be 
fixed.

{code}
[BitClient-2] ERROR o.a.d.exec.rpc.RpcExceptionHandler - Exception in RPC 
communication.  Connection: /172.30.1.66:54074 <--> /172.30.1.66:31015 (data 
client).  Closing connection.
java.lang.IllegalStateException: Attempting operation on allocator when 
allocator is closed.
Allocator(ROOT) 0/0/65688912/3817865216 (res/actual/peak/limit)
  child allocators: 0
  ledgers: 0
  reservations: 0

        at 
org.apache.drill.exec.memory.BaseAllocator.assertOpen(BaseAllocator.java:108) 
~[classes/:na]
        at 
org.apache.drill.exec.memory.BaseAllocator.buffer(BaseAllocator.java:189) 
~[classes/:na]
        at 
org.apache.drill.exec.memory.DrillByteBufAllocator.buffer(DrillByteBufAllocator.java:49)
 ~[classes/:na]
        at 
org.apache.drill.exec.memory.DrillByteBufAllocator.ioBuffer(DrillByteBufAllocator.java:64)
 ~[classes/:na]
        at 
io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)
 ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)
 ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
 [netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) 
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
 [netty-common-4.0.27.Final.jar:4.0.27.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
{code}


> Memory allocation failure in test DrillSeparatePlanningTest.testPlanning
> ------------------------------------------------------------------------
>
>                 Key: DRILL-5073
>                 URL: https://issues.apache.org/jira/browse/DRILL-5073
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Paul Rogers
>
> Run the test {{DrillSeparatePlanningTest.testPlanning}}. (Or, run the whole 
> {{DrillSeparatePlanningTest}}) test. You will see the exception shown below.
> This is an error in the server, not reported to the client and therefore not 
> causing the test itself to fail. It is, however, a real error that must be 
> fixed.
> {code}
> [BitClient-2] ERROR o.a.d.exec.rpc.RpcExceptionHandler - Exception in RPC 
> communication.  Connection: /172.30.1.66:54074 <--> /172.30.1.66:31015 (data 
> client).  Closing connection.
> java.lang.IllegalStateException: Attempting operation on allocator when 
> allocator is closed.
> Allocator(ROOT) 0/0/65688912/3817865216 (res/actual/peak/limit)
>   child allocators: 0
>   ledgers: 0
>   reservations: 0
>       at 
> org.apache.drill.exec.memory.BaseAllocator.assertOpen(BaseAllocator.java:108) 
> ~[classes/:na]
>       at 
> org.apache.drill.exec.memory.BaseAllocator.buffer(BaseAllocator.java:189) 
> ~[classes/:na]
>       at 
> org.apache.drill.exec.memory.DrillByteBufAllocator.buffer(DrillByteBufAllocator.java:49)
>  ~[classes/:na]
>       at 
> org.apache.drill.exec.memory.DrillByteBufAllocator.ioBuffer(DrillByteBufAllocator.java:64)
>  ~[classes/:na]
>       at 
> io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)
>  ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at 
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)
>  ~[netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) 
> [netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>  [netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) 
> [netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) 
> [netty-transport-4.0.27.Final.jar:4.0.27.Final]
>       at 
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
>  [netty-common-4.0.27.Final.jar:4.0.27.Final]
>       at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to