doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] 在2.0.0.bate版本中使用s3作为repository,进行备份是恢复数据时报错,task_worker_pool.cpp:793] failed to download|signature=125243|job_id=125201|error=[INVALID_ARGUMENT]Invalid S3 URI: s3://test

Open NemoZR opened this issue 3 years ago • 1 comments

Search before asking

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

Version

2.0.0.bate

What's Wrong?

报错:task_worker_pool.cpp:793] failed to download|signature=125243|job_id=125201|error=[INVALID_ARGUMENT]Invalid S3 URI: s3://test 原因: task_worker_pool.cpp:783对下载数据操作进行初始化 snapshot_loader.cpp:81对s3的LOCATION进行解析 s3_uri.cpp:48-57对s3路径进行解析,这个解析是对完整路径的解析,并不包括对基础路径的解析

What You Expected?

调整be/src/util/s3_uri.cpp的48-57行代码,包含对基础路径的解析 或者是在下载数据初始化时不进行检验,在下载文件时对每个文件进行检验

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

NemoZR avatar Aug 11 '23 06:08 NemoZR

You can upgrade doris 2.0, this problem has been fixed. https://github.com/apache/doris/pull/21994

DongLiang-0 avatar Aug 28 '23 02:08 DongLiang-0