CREATE REPOSITORY报错:cause: Connection timeout

Viewed 53

**集群版本:**2.0.6
执行语句:
CREATE REPOSITORY s3_repo
WITH S3
ON LOCATION "s3://xxxxx/"
PROPERTIES
(
"s3.endpoint" = "http://oss-cn-zhangjiakou-xxxxx.com",
"s3.region" = "cn-zhangjiakou",
"s3.access_key" = "xxxxx",
"s3.secret_key" = "xxxxxxx"
);

报错信息:
image.png

两个集群都是2.0.6版本,A集群创建成功,B集群创建失败,有遇到的兄弟帮忙一起看下,感谢。

2 Answers

看着是和master节点上通信失败了,检查一下网络,或者直接在master节点执行创建repository的命令。

控制台直接执行失败,看fe日志
2025-02-10 11:53:10,947 WARN (mysql-nio-pool-202432|6997400) [ReadListener.lambda$handleEvent$0():60] Exception happened in one session(org.apache.doris.qe.ConnectContext@4023bc82).
java.io.IOException: Error happened when receiving packet.
at org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:840) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) ~[doris-fe.jar:1.2-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_352-352]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_352-352]
at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352-352]