Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minio 20240716版本,无法通过S3协议创建repository。20210422版本可以正常创建。 #1792

Open
piwood opened this issue Jan 15, 2025 · 0 comments

Comments

@piwood
Copy link

piwood commented Jan 15, 2025

Path:/zh-CN/docs/3.0/sql-manual/sql-statements/data-modification/backup-and-restore/CREATE-REPOSITORY

如题:
minio 20240716版本,无法通过S3协议创建repository。20210422版本可以正常创建。

报错信息为:

db> CREATE REPOSITORY `minio`
         WITH S3
         ON LOCATION "s3://doris"
         PROPERTIES
         (
             "s3.endpoint" = "http://192.168.xx.xx:9000",
             "s3.region" = "cn-shenyang",
             "s3.access_key" = "test",
             "s3.secret_key" = "test.",
             "use_path_style" = "true"
         );
[2025-01-14 17:20:29] [42000][5064] errCode = 2, detailMessage = Failed to create repository: errors while get file status getFileStatus on s3://doris/__palo_repository_minio/__repo_info: com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null), S3 Extended Request ID: null:400 Bad Request: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null)
d

建议在文档中标识适配的 minio 版本。

不适配的版本信息如下:

doris 版本:

Git : git://vm-70@62a58bff4c2f640f1afcba8c754058d5f77d420f

Version : doris-3.0.3-rc04

BuildInfo : vm-70

BuildTime : Sun, 08 Dec 2024 05:45:50 4Z

minio 版本:

minio version RELEASE.2024-07-16T23-46-41Z (commit-id=3535197f993dea840dcb96302ba4d883dc619097)
Runtime: go1.22.5 linux/amd64
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
Copyright: 2015-2024 MinIO, Inc.

可成功创建的 repository 的 minio 版本:

minio version RELEASE.2021-04-22T15-44-28Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant