doris 使用jdbc方式读写数据。运行过程报错

Viewed 92

服务使用jdbc方式Doris,有读写操作,存在大量频繁写入及大量频繁更新,也有大量删除,日志显示报错
version error:
[MasterImpl.finishTask():94] finish task reports bad. request: TFinishTaskRequest(backend:TBackend(host:10..., be_port:9060, http_port:8040, brpc_port:8060, id:10028), task_type:PUBLISH_VERSION, signature:16805993, task_status:TStatus(status_code:INTERNAL_ERROR, error_msgs:[(10...)[E-3115]version not continuous for mow, tablet_id=2453957, tablet_max_version=2729040, txn_version=2729061]), report_version:17193942755528,

有较多IO报错,如下:
[RestApiExceptionHandler.unexpectedExceptionHandler():61] unexpected exception
org.eclipse.jetty.io.EofException: null
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:280) ~[jetty-io-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) ~[jetty-io-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) ~[jetty-io-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:119) ~[jetty-io-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:300) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[jetty-util-9.4.51.v20230217.jar:9.4.51.v20230217]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_231]
Suppressed: org.eclipse.jetty.io.EofException: Closed
at org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:771) ~[jetty-server-9.4.53.v20231009.jar:9.4.53.v20231009]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:795) ~[jetty-server-9.4.53.v20231009.jar:9.4.53.v20231009]

Caused by: java.io.IOException: 断开的管道
at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) ~[?:1.8.0_231]
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:1.8.0_231]
at sun.nio.ch.IOUtil.write(IOUtil.java:148) ~[?:1.8.0_231]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) ~[?:1.8.0_231]
at java.nio.channels.SocketChannel.write(SocketChannel.java:502) ~[?:1.8.0_231]
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:274) ~[jetty-io-9.4.51.v20230217.jar:9.4.51.v20230217]
... 11 more
2024-07-30 15:50:27,088 WARN (qtp378838522-219043|219043) [ExceptionHandlerExceptionResolver.doResolveHandlerMethodException():434] Failure in @ExceptionHandler org.apache.doris.httpv2.exception.RestApiExceptionHandler#unexpectedExceptionHandler(Exception)
org.eclipse.jetty.io.EofException: Closed
at org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:771) ~[jetty-server-9.4.53.v20231009.jar:9.4.53.v20231009]
请问有没有人遇到过,需要怎么解决呢

2 Answers

老师您好,您具体是哪个版本呢?这个可能得拿多一些的日志看了,方便的话您加我下主页微信,我们一起看下的。

可以的,我用的2.1的版本