doris icon indicating copy to clipboard operation
doris copied to clipboard

[Bug] (restore) [INTERNAL_ERROR]invalid md5 of downloaded file

Open vvXuXu opened this issue 3 years ago • 5 comments

Search before asking

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

Version

2.0.2

What's Wrong?

Report Error [INTERNAL_ERROR]invalid md5 of downloaded file: xxx.hdr, expected: xxx, get: xxx] check xxx.hdr file in be is empty.

What You Expected?

restore success

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

vvXuXu avatar Nov 01 '23 07:11 vvXuXu

Do you create repository with broker ?

vinlee19 avatar Nov 01 '23 07:11 vinlee19

Do you create repository with broker ?

yes

vvXuXu avatar Nov 01 '23 08:11 vvXuXu

You can create repository with hdfs ,then restore your data.

vinlee19 avatar Nov 01 '23 09:11 vinlee19

You can create repository with hdfs ,then restore your data.

use hdfs backup, hdfs user do not use in repository PROPERTIES...

[COMMON_ERROR, msg: failed to delete remote path: hdfs://xxx/__meta.xxx, msg: Permission denied: user=hadoop, access=WRITE, inode="/xxx":root:supergroup:drwxr-xr-x

user set in repository PROPERTIES "username" = "root"

I don't know where 'hadoop' comes from

vvXuXu avatar Nov 01 '23 09:11 vvXuXu

it may happen due to #23529, since broker download logic is not fit. so you may have to custom the exception throw in broker or change the download logic. However, the entire logic has been refactored in the most recent version and usage of broker is not recommended.

TsukiokaKogane avatar Mar 03 '25 13:03 TsukiokaKogane