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

IllegalArgumentException: Self-suppression not permitted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.14.0, 1.15.0
    • Fix Version/s: None
    • Component/s: Execution - RPC
    • Labels:
      None

      Description

      When a query is marked as Canceled on Web UI, there is this Exception in drillbit.log

      Drill 1.13.0 commit cac2882d5a9e22fbc251e4caf622fe30242ad557

      2018-03-21 15:35:43,198 [UserServer-1] INFO o.a.d.e.w.fragment.FragmentExecutor - 254d2796-7744-cc2a-d77e-5ec030b04211:0:0: State change requested RUNNING --> FAILED
      2018-03-21 15:35:43,198 [254d2796-7744-cc2a-d77e-5ec030b04211:frag:0:0] INFO o.a.d.e.w.fragment.FragmentExecutor - 254d2796-7744-cc2a-d77e-5ec030b04211:0:0: State change requested FAILED --> FAILED
      2018-03-21 15:35:43,199 [254d2796-7744-cc2a-d77e-5ec030b04211:frag:0:0] INFO o.a.d.e.w.fragment.FragmentExecutor - 254d2796-7744-cc2a-d77e-5ec030b04211:0:0: State change requested FAILED --> FAILED
      2018-03-21 15:35:43,202 [254d2796-7744-cc2a-d77e-5ec030b04211:frag:0:0] INFO o.a.d.e.w.fragment.FragmentExecutor - 254d2796-7744-cc2a-d77e-5ec030b04211:0:0: State change requested FAILED --> FAILED
      2018-03-21 15:35:43,202 [UserServer-1] WARN o.apache.drill.exec.rpc.RequestIdMap - Failure while attempting to fail rpc response.
      java.lang.IllegalArgumentException: Self-suppression not permitted
      at java.lang.Throwable.addSuppressed(Throwable.java:1043) ~[na:1.8.0_161]
      at org.apache.drill.common.DeferredException.addException(DeferredException.java:88) ~[drill-common-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.common.DeferredException.addThrowable(DeferredException.java:97) ~[drill-common-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.work.fragment.FragmentExecutor.fail(FragmentExecutor.java:412) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.work.fragment.FragmentExecutor.access$700(FragmentExecutor.java:55) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.work.fragment.FragmentExecutor$ExecutorStateImpl.fail(FragmentExecutor.java:426) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.ops.FragmentContextImpl.fail(FragmentContextImpl.java:233) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.ops.FragmentContextImpl$1.accept(FragmentContextImpl.java:100) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.ops.FragmentContextImpl$1.accept(FragmentContextImpl.java:97) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.ops.StatusHandler.failed(StatusHandler.java:42) ~[drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.RequestIdMap$RpcListener.setException(RequestIdMap.java:139) ~[drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.RequestIdMap$SetExceptionProcedure.apply(RequestIdMap.java:76) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.RequestIdMap$SetExceptionProcedure.apply(RequestIdMap.java:66) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at com.carrotsearch.hppc.IntObjectHashMap.forEach(IntObjectHashMap.java:692) [hppc-0.7.1.jar:na]
      at org.apache.drill.exec.rpc.RequestIdMap.channelClosed(RequestIdMap.java:62) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.AbstractRemoteConnection.channelClosed(AbstractRemoteConnection.java:192) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.AbstractServerConnection.channelClosed(AbstractServerConnection.java:165) [drill-java-exec-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.RpcBus$ChannelClosedHandler.operationComplete(RpcBus.java:167) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at org.apache.drill.exec.rpc.RpcBus$ChannelClosedHandler.operationComplete(RpcBus.java:144) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:500) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:479) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1003) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:632) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:610) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:812) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.forceFlush(AbstractNioChannel.java:319) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:639) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [netty-transport-4.0.48.Final.jar:4.0.48.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) [netty-common-4.0.48.Final.jar:4.0.48.Final]
      at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]
      Caused by: org.apache.drill.exec.rpc.ChannelClosedException: Channel closed /10.10.102.45:31010 <--> /10.10.102.45:40212.
      at org.apache.drill.exec.rpc.RpcBus$ChannelClosedHandler.operationComplete(RpcBus.java:165) [drill-rpc-1.13.0-SNAPSHOT.jar:1.13.0-SNAPSHOT]
      ... 18 common frames omitted
      2018-03-21 15:35:43,202 [254d2796-7744-cc2a-d77e-5ec030b04211:frag:0:0] INFO o.a.d.e.w.fragment.FragmentExecutor - 254d2796-7744-cc2a-d77e-5ec030b04211:0:0: State change requested FAILED --> FINISHED

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              khfaraaz Khurram Faraaz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: