Skip to content

[Bug] Restore failed with error: get nothing from remote path: xxxx #6194

@morningman

Description

@morningman

Describe the bug

in be.INFO, error shows:

 get nothing from remote path: s3://cmy-repo/repo//__palo_repository_bos_repo2/__ss_s1/__ss_content/__db_10003/__tbl_10053/__part_10052/__idx_10054/__10055

This is because the path contains //, which can not be handled by S3 sdk correctly.

Some other bugs like:

java.lang.IllegalStateException: Invalid S3 URI: s3:/cmy-repo/repo/__palo_repository_bos_repo2

This is because s:/ is not a valid URL schema, should be s3://

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/backupIssues of PRS related to backup and restorekind/fixCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions