Skip to content

[Bug] 备份数据时向minio存储创建仓库失败 #57607

@lulu624

Description

@lulu624

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Doris版本: 3.1.1
Minio版本:2023-07-18T17:49:40Z

What's Wrong?

执行创建仓库的脚本:
CREATE REPOSITORY minio_repo WITH S3 ON LOCATION "s3://data/doris/test" PROPERTIES ( "s3.endpoint" = "http://192.168.4.123:9000/", "s3.region" = 'zxj', "s3.access_key" = "ak", "s3.secret_key" = "sk", "use_path_style" = "true" );

错误提示:

5064 - errCode = 2, detailMessage = Failed to create repository: Errors while getting file status software.amazon.awssdk.services.s3.model.S3Exception: The authorization header is malformed; the region is wrong; expecting 'zxj'. (Service: S3, Status Code: 400, Request ID: 18745C0AC94E705B, Extended Request ID: 387bf67c67f295f9f3d69c72f2dd66d7a6312dc83c372eaa72e88caad2cea503)

我确定各项参数值都是正确且可用的。

What You Expected?

正确的创建仓库,并执行后续的备份任务

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions