bgaborg commented on a change in pull request #1043: HADOOP-16396. Allow
authoritative mode on a subdirectory.
URL: https://github.com/apache/hadoop/pull/1043#discussion_r300046562
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
##########
@@ -3794,10 +3804,13 @@ public LocatedFileStatus next() throws IOException {
key, delimiter);
final RemoteIterator<S3AFileStatus> cachedFilesIterator;
final Set<Path> tombstones;
+ boolean allowAuthoritative = S3Guard.allowAuthoritative(f, this,
+ allowAuthoritativeMetadataStore, allowAuthoritativePaths);
if (recursive) {
final PathMetadata pm = metadataStore.get(path, true);
// shouldn't need to check pm.isDeleted() because that will have
// been caught by getFileStatus above.
+
Review comment:
nit: newline without purpose
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]