You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "George Huang (Jira)" <ji...@apache.org> on 2023/05/25 02:37:00 UTC

[jira] [Commented] (RATIS-1845) org.apache.ratis.protocol.exceptions.TimeoutIOException: Timeout 10000ms: Failed to send DataStreamWindowRequest

    [ https://issues.apache.org/jira/browse/RATIS-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726026#comment-17726026 ] 

George Huang commented on RATIS-1845:
-------------------------------------

Notice seems client was still trying to connect with port: 9858 after database reset.

> org.apache.ratis.protocol.exceptions.TimeoutIOException: Timeout 10000ms: Failed to send DataStreamWindowRequest
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: RATIS-1845
>                 URL: https://issues.apache.org/jira/browse/RATIS-1845
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: George Huang
>            Priority: Major
>
> {code:java}
> 2023-05-24 00:33:56,232 ERROR [timer5] org.apache.ratis.client.impl.OrderedStreamAsync: Failed to send request, header=DataStreamRequestHeader:clientId=client-82059A262355,type=STREAM_DATA,id=40,offset=0,length=1048576
> org.apache.ratis.protocol.exceptions.TimeoutIOException: Timeout 10000ms: Failed to send DataStreamWindowRequest:seqNum=2,DataStreamRequestHeader:clientId=client-82059A262355,type=STREAM_DATA,id=40,offset=0,length=1048576
> at org.apache.ratis.client.impl.OrderedStreamAsync.lambda$scheduleWithTimeout$7(OrderedStreamAsync.java:172)
> at org.apache.ratis.util.TimeoutTimer.lambda$onTimeout$2(TimeoutTimer.java:101)
> at org.apache.ratis.util.LogUtils.runAndLog(LogUtils.java:38)
> at org.apache.ratis.util.LogUtils$1.run(LogUtils.java:79)
> at org.apache.ratis.util.TimeoutTimer$Task.run(TimeoutTimer.java:55)
> at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
> at java.base/java.util.TimerThread.run(Timer.java:506)
> 2023-05-24 00:33:56,257 INFO [main] org.apache.ratis.client.DataStreamClient: raft.datastream.type = NETTY (custom)
> 2023-05-24 00:33:56,257 INFO [main] org.apache.ratis.netty.NettyConfigKeys$DataStream: raft.netty.dataStream.client.tls.conf = null (default)
> 2023-05-24 00:33:56,257 INFO [main] org.apache.ratis.netty.NettyConfigKeys$DataStream: raft.netty.dataStream.client.reply.queue.grace-period = 1s (default)
> 2023-05-24 00:33:56,257 INFO [main] org.apache.ratis.netty.NettyConfigKeys$DataStream: raft.netty.dataStream.client.worker-group.share = true (custom)
> 2023-05-24 00:33:56,263 ERROR [timer6] org.apache.ratis.client.impl.OrderedStreamAsync: Failed to send request, header=DataStreamRequestHeader:clientId=client-82059A262355,type=STREAM_DATA,id=40,offset=1048576,length=1048576
> org.apache.ratis.protocol.exceptions.TimeoutIOException: Timeout 10000ms: Failed to send DataStreamWindowRequest:seqNum=3,DataStreamRequestHeader:clientId=client-82059A262355,type=STREAM_DATA,id=40,offset=1048576,length=1048576
> at org.apache.ratis.client.impl.OrderedStreamAsync.lambda$scheduleWithTimeout$7(OrderedStreamAsync.java:172)
> at org.apache.ratis.util.TimeoutTimer.lambda$onTimeout$2(TimeoutTimer.java:101)
> at org.apache.ratis.util.LogUtils.runAndLog(LogUtils.java:38)
> at org.apache.ratis.util.LogUtils$1.run(LogUtils.java:79)
> at org.apache.ratis.util.TimeoutTimer$Task.run(TimeoutTimer.java:55)
> at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
> at java.base/java.util.TimerThread.run(Timer.java:506)
> :
> :
> :
> 2023-05-24 00:34:27,591 ERROR [timer0] org.apache.ratis.client.impl.OrderedStreamAsync: Failed to send request, header=DataStreamRequestHeader:clientId=client-779CD24F5C40,type=STREAM_HEADER,id=46,offset=0,length=153
> org.apache.ratis.protocol.exceptions.TimeoutIOException: Timeout 10000ms: Failed to send DataStreamWindowRequest:seqNum=1,DataStreamRequestHeader:clientId=client-779CD24F5C40,type=STREAM_HEADER,id=46,offset=0,length=153
> 	at org.apache.ratis.client.impl.OrderedStreamAsync.lambda$scheduleWithTimeout$7(OrderedStreamAsync.java:172)
> 	at org.apache.ratis.util.TimeoutTimer.lambda$onTimeout$2(TimeoutTimer.java:101)
> 	at org.apache.ratis.util.LogUtils.runAndLog(LogUtils.java:38)
> 	at org.apache.ratis.util.LogUtils$1.run(LogUtils.java:79)
> 	at org.apache.ratis.util.TimeoutTimer$Task.run(TimeoutTimer.java:55)
> 	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
> 	at java.base/java.util.TimerThread.run(Timer.java:506)
> 2023-05-24 00:36:17,768 WARN [NettyClientStreamRpc-workerGroup--thread17] org.apache.ratis.netty.client.NettyClientStreamRpc: Connection-/10.12.1.82:9858: channel is inactive; schedule reconnecting to /10.12.1.82:9858 in 100ms
> 2023-05-24 00:38:17,972 WARN [NettyClientStreamRpc-workerGroup--thread19] org.apache.ratis.netty.client.NettyClientStreamRpc: Connection-/10.12.1.82:9858: channel is inactive; schedule reconnecting to /10.12.1.82:9858 in 100ms
> 2023-05-24 00:40:18,107 WARN [NettyClientStreamRpc-workerGroup--thread21] org.apache.ratis.netty.client.NettyClientStreamRpc: Connection-/10.12.1.82:9858: channel is inactive; schedule reconnecting to /10.12.1.82:9858 in 100ms
> 2023-05-24 00:42:18,289 WARN [NettyClientStreamRpc-workerGroup--thread23] org.apache.ratis.netty.client.NettyClientStreamRpc: Connection-/10.12.1.82:9858: channel is inactive; schedule reconnecting to /10.12.1.82:9858 in 100ms
> 2023-05-24 00:44:18,473 WARN [NettyClientStreamRpc-workerGroup--thread25] org.apache.ratis.netty.client.NettyClientStreamRpc: Connection-/10.12.1.82:9858: channel is inactive; schedule reconnecting to /10.12.1.82:9858 in 100ms{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)