Steve Loughran created HADOOP-15191: ---------------------------------------
Summary: Add Private/Unstable BulkDelete operations to FS/S3A for DistCP Key: HADOOP-15191 URL: https://issues.apache.org/jira/browse/HADOOP-15191 Project: Hadoop Common Issue Type: Sub-task Components: fs/s3, tools/distcp Affects Versions: 2.9.0 Reporter: Steve Loughran Large scale DistCP with the -delete option doesn't finish in a viable time because of the final CopyCommitter doing a 1 by 1 delete of all missing files. This isn't randomized (the list is sorted), and it's throttled by AWS. If bulk deletion of files was exposed as an API, distCP would do 1/1000 of the REST calls, so not get throttled. Proposed: add an initially private/unstable interface for stores, {{BulkDelete}} which declares a page size and offers a {{bulkDelete(List<Path>)}} operation for the bulk deletion. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org