morningman opened a new issue #748: Channel inactive error when a Backend down
URL: https://github.com/apache/incubator-doris/issues/748
 
 
   com.baidu.palo.rpc.RpcException: A error occurred: errorCode=2001 
errorMessage:Channel inactive error!
           at com.baidu.palo.qe.Coordinator.getNext(Coordinator.java:562) 
~[palo-fe.jar:?]
           at 
com.baidu.palo.qe.StmtExecutor.handleQueryStmt(StmtExecutor.java:545) 
~[palo-fe.jar:?]
           at com.baidu.palo.qe.StmtExecutor.execute(StmtExecutor.java:213) 
[palo-fe.jar:?]
           at 
com.baidu.palo.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:168) 
[palo-fe.jar:?]
           at 
com.baidu.palo.qe.ConnectProcessor.dispatch(ConnectProcessor.java:259) 
[palo-fe.jar:?]
           at 
com.baidu.palo.qe.ConnectProcessor.processOnce(ConnectProcessor.java:390) 
[palo-fe.jar:?]
           at 
com.baidu.palo.qe.ConnectProcessor.loop(ConnectProcessor.java:400) 
[palo-fe.jar:?]
           at 
com.baidu.palo.qe.ConnectScheduler$LoopHandler.run(ConnectScheduler.java:170) 
[palo-fe.jar:?]
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_131]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_131]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[?:1.8.0_131]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[?:1.8.0_131]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
   2019-03-14 01:24:23,985 WARN 41728 
[Coordinator.updateFragmentExecStatus():1256] One instance report fail, 
query_id=d327aa74bd7c4772:afa3a6bd8a29bb80 
instance_id=d327aa74bd7c4772:afa3a6bd8a29bb92
   2019-03-14 01:24:26,840 WARN 140737 
[SystemInfoService$HeartbeatHandler.run():1196] backend[10002] got Exception:
   org.apache.thrift.transport.TTransportException: java.net.SocketException: 
Connection reset
           at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)
 ~[libthrift-0.9.3.jar:0.9.3]
           at 
org.apache.thrift.transport.TTransport.readAll(TTransport.java:86) 
~[libthrift-0.9.3.jar:0.9.3]
           at 
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429) 
~[libthrift-0.9.3.jar:0.9.3]
           at 
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318) 
~[libthrift-0.9.3.jar:0.9.3]
           at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
 ~[libthrift-0.9.3.jar:0.9.3]
           at 
org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77) 
~[libthrift-0.9.3.jar:0.9.3]
           at 
com.baidu.palo.thrift.HeartbeatService$Client.recv_heartbeat(HeartbeatService.java:88)
 ~[palo-fe.jar:?]
           at 
com.baidu.palo.thrift.HeartbeatService$Client.heartbeat(HeartbeatService.java:75)
 ~[palo-fe.jar:?]
           at 
com.baidu.palo.system.SystemInfoService$HeartbeatHandler.run(SystemInfoService.java:1176)
 [palo-fe.jar:?]
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_131]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_131]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[?:1.8.0_131]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[?:1.8.0_131]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
   Caused by: java.net.SocketException: Connection reset
           at java.net.SocketInputStream.read(SocketInputStream.java:210) 
~[?:1.8.0_131]
           at java.net.SocketInputStream.read(SocketInputStream.java:141) 
~[?:1.8.0_131]
           at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) 
~[?:1.8.0_131]
           at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) 
~[?:1.8.0_131]
           at java.io.BufferedInputStream.read(BufferedInputStream.java:345) 
~[?:1.8.0_131]
           at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
 ~[libthrift-0.9.3.jar:0.9.3]
           ... 13 more
   2019-03-14 01:24:26,843 WARN 3036 [Slf4JLogger.warn():146] An exception 
'java.lang.NullPointerException' [enable DEBUG level for full stacktrace] was 
thrown by a user handler's exceptionCaught() method wh
   ile handling the following exception:
   java.io.IOException: Connection reset by peer
           at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_131]
           at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) 
~[?:1.8.0_131]
           at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) 
~[?:1.8.0_131]
           at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_131]
           at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) 
~[?:1.8.0_131]
           at 
io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
 ~[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1108) 
~[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:345)
 ~[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
 [netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) 
[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:582)
 [netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) 
[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) 
[netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
 [netty-all-4.1.25.Final.jar:4.1.25.Final]
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [netty-all-4.1.25.Final.jar:4.1.25.Final]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to