[
https://issues.apache.org/jira/browse/HADOOP-14837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17814712#comment-17814712
]
ASF GitHub Bot commented on HADOOP-14837:
-----------------------------------------
bpahuja commented on PR #6407:
URL: https://github.com/apache/hadoop/pull/6407#issuecomment-1929172260
> I 'd go for getTrimmed(READ_RESTORED_GLACIER_OBJECTS, ""); if empty string
map to empty optional, otherwise .toupper and valueof. one thing to consider:
meaningful failure if the value doesn't map.
> or we just go for "upper case is required" and use what you've proposed.
more brittle but simpler?
Regarding the above, I will update the config read to getTrimmed and set the
config values of defualt to READ_ALL instead of "".
> meaningful failure if the value doesn't map
the valueof method will throw the illegalArgs exception if an invalid value
is set in the config
> Handle S3A "glacier" data
> -------------------------
>
> Key: HADOOP-14837
> URL: https://issues.apache.org/jira/browse/HADOOP-14837
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.0.0-beta1
> Reporter: Steve Loughran
> Assignee: Bhavay Pahuja
> Priority: Minor
> Labels: pull-request-available
>
> SPARK-21797 covers how if you have AWS S3 set to copy some files to glacier,
> they appear in the listing but GETs fail, and so does everything else
> We should think about how best to handle this.
> # report better
> # if listings can identify files which are glaciated then maybe we could have
> an option to filter them out
> # test & see what happens
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]