[
https://issues.apache.org/jira/browse/HADOOP-13974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Fabbri updated HADOOP-13974:
----------------------------------
Attachment: HADOOP-13974.005.patch
Posting v5 patch with feedback from [[email protected]].
- Clean up some imports / simplify boolean condition / fix indent.
- Create a single WriteOperationHelper when S3AFileSystem is created. Also,
rename S3AFileSystem#createWriteOperationHelper() to getWriteOperationHelper()
- Move listMultipartUploads() from S3ATestUtils to MultipartTestUtils
- Use explicit Charset for the input of "are you sure" prompt when aborting
multipart uploads from CLI (for findbugs).
- ITestS3GuardToolLocal #uploadCommandAssertCount() prints output when it fails
to match.
Tested in us-west 2. Ran all integration tests and also verified CLI looks
good in practice.
> S3a CLI to support list/purge of pending multipart commits
> ----------------------------------------------------------
>
> Key: HADOOP-13974
> URL: https://issues.apache.org/jira/browse/HADOOP-13974
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.0.0-beta1
> Reporter: Steve Loughran
> Assignee: Aaron Fabbri
> Attachments: HADOOP-13974.001.patch, HADOOP-13974.002.patch,
> HADOOP-13974.003.patch, HADOOP-13974.004.patch, HADOOP-13974.005.patch
>
>
> The S3A CLI will need to be able to list and delete pending multipart
> commits.
> We can do the cleanup already via fs.s3a properties. The CLI will let scripts
> stat for outstanding data (have a different exit code) and permit batch jobs
> to explicitly trigger cleanups.
> This will become critical with the multipart committer, as there's a
> significantly higher likelihood of commits remaining outstanding.
> We may also want to be able to enumerate/cancel all pending commits in the FS
> tree
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]