drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolaos Tsipas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5309) Error: Protocol message was too large. May be malicious.
Date Thu, 02 Mar 2017 14:56:45 GMT

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

Nikolaos Tsipas updated DRILL-5309:
-----------------------------------
    Affects Version/s: 1.9.0
          Environment: embedded drill

> Error: Protocol message was too large.  May be malicious.
> ---------------------------------------------------------
>
>                 Key: DRILL-5309
>                 URL: https://issues.apache.org/jira/browse/DRILL-5309
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>         Environment: embedded drill
>            Reporter: Nikolaos Tsipas
>
> Hi,
> I'm getting the following error when running 
> {code}
> create table logs(ip) as select columns[0] from dfs.`/Users/username/workspace/logs`;
> {code}
> in the embedded apache drill.
> {code}
> 2017-03-02 14:45:37,003 [2747d020-2424-bada-3362-370f201e184b:foreman] INFO  o.a.d.e.s.schedule.BlockMapBuilder
- Get block maps: Executed 420315 out of 420315 using 16 threads. Time: 12459ms total, 0.471068ms
avg, 227ms max.
> 2017-03-02 14:45:37,003 [2747d020-2424-bada-3362-370f201e184b:foreman] INFO  o.a.d.e.s.schedule.BlockMapBuilder
- Get block maps: Executed 420315 out of 420315 using 16 threads. Earliest start: 865.372000
μs, Latest start: 12427432.350000 μs, Average start: 6405853.135060 μs .
> 2017-03-02 14:46:11,581 [CONTROL-rpc-event-queue] ERROR o.a.d.exec.rpc.control.ControlServer
- Failure while handling message.
> org.apache.drill.exec.rpc.RpcException: Failure while decoding message with parser of
type. null
> 	at org.apache.drill.exec.rpc.RpcBus.get(RpcBus.java:319) ~[drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.work.batch.ControlMessageHandler.handle(ControlMessageHandler.java:104)
~[drill-java-exec-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.control.ControlServer.handle(ControlServer.java:63) ~[drill-java-exec-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.control.ControlServer.handle(ControlServer.java:38) ~[drill-java-exec-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.RpcBus.handle(RpcBus.java:65) ~[drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.RpcBus$RequestEvent.run(RpcBus.java:363) ~[drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.common.SerializedExecutor$RunnableProcessor.run(SerializedExecutor.java:89)
[drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.RpcBus$SameExecutor.execute(RpcBus.java:240) [drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.common.SerializedExecutor.execute(SerializedExecutor.java:123) [drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.RpcBus$InboundHandler.decode(RpcBus.java:274) [drill-rpc-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.rpc.RpcBus$InboundHandler.decode(RpcBus.java:245) [drill-rpc-1.9.0.jar:1.9.0]
> 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
[netty-codec-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
[netty-handler-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)
[netty-codec-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)
[netty-transport-4.0.27.Final.jar:4.0.27.Final]
> 	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
[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_111]
> Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message was too
large.  May be malicious.  Use CodedInputStream.setSizeLimit() to increase the size limit.
> 	at com.google.protobuf.InvalidProtocolBufferException.sizeLimitExceeded(InvalidProtocolBufferException.java:110)
~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:755) ~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.CodedInputStream.isAtEnd(CodedInputStream.java:701) ~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:99) ~[protobuf-java-2.5.0.jar:na]
> 	at org.apache.drill.exec.proto.BitControl$PlanFragment.<init>(BitControl.java:3755)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$PlanFragment.<init>(BitControl.java:3719)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$PlanFragment$1.parsePartialFrom(BitControl.java:3918)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$PlanFragment$1.parsePartialFrom(BitControl.java:3913)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:309) ~[protobuf-java-2.5.0.jar:na]
> 	at org.apache.drill.exec.proto.BitControl$InitializeFragments.<init>(BitControl.java:2432)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$InitializeFragments.<init>(BitControl.java:2379)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$InitializeFragments$1.parsePartialFrom(BitControl.java:2468)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at org.apache.drill.exec.proto.BitControl$InitializeFragments$1.parsePartialFrom(BitControl.java:2463)
~[drill-protocol-1.9.0.jar:1.9.0]
> 	at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200) ~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:217) ~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:223) ~[protobuf-java-2.5.0.jar:na]
> 	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) ~[protobuf-java-2.5.0.jar:na]
> 	at org.apache.drill.exec.rpc.RpcBus.get(RpcBus.java:317) ~[drill-rpc-1.9.0.jar:1.9.0]
> 	... 33 common frames omitted
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message