liqiquan commented on issue #7236: URL: https://github.com/apache/dolphinscheduler/issues/7236#issuecomment-988431510
我遇到了同样的问题,正在解决中。你可以尝试直接使用ip地址,s3Endpoint=192.168.xxx.xxx:xxxx,这样应该是可以正常运行的。 原因:org.apache.hadoop:hadoop-ws:2.7.3 AmazonS3Client.java的validIP()方法中,强制判断endpoint的host必须是ip,不能是域名,否则就会倒装拼接host:bucket + endpoind。也就会出现奇怪的域名:dolphinscheduler.survey-minio.zxkw-local.com 可能的解决方法: 方法一:minio搭建的方式有问题,minio应该是可以支持这种倒装域名的 方式二:升级hadoop-aws的版本到高版本,例如2.8.5,加入新的参数配置fs.s3a.path.style.access=ture,禁止倒装拼接域名 I ran into the same problem and it is being solved. You can try to use the ip address directly, s3Endpoint=192.168.xxx.xxx:xxxx, it should work normally. Reason: org.apache.hadoop:hadoop-ws:2.7.3 In the validIP() method of AmazonS3Client.java, it is mandatory to judge that the host of the endpoint must be an ip, not a domain name, otherwise the host will be flipped and spliced: bucket + endpoind. There will also be a strange domain name: dolphinscheduler.survey-minio.zxkw-local.com Possible solutions: Method 1: There is a problem with the way minio is built, minio should be able to support this flipped domain name Method 2: Upgrade the hadoop-aws version to a higher version, such as 2.8.5, add a new parameter configuration fs.s3a.path.style.access=ture, and prohibit flipping and splicing domain names -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
