Skip to content

Can't read S3-stored datafile without the dataverse.files.s3-bucket-name JVM option present #5065

@landreev

Description

@landreev

The JVM option dataverse.files.s3-bucket-name is required when using S3 and storing new files; it tells the S3 driver what "bucket" to put the file into.
If you switch back to the filesystem, or swift driver, that's where any new files will be stored. But we're still supposed to be able to read any old S3 files.
It appears that this is no longer working if the JVM option above is no longer present. Which seems unnecessary, because the bucket name is actually embedded in the storageidentifier that's saved in the database.
For example, "s3://iqssqa:165a6268a5e-fb97b82e022d" - "iqssqa" is the bucket where the file lives.

(This is probably one of the least important bugs/issues we have; it's just weird, and the failures are somewhat confusing...)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions