bgaborg commented on a change in pull request #1707: HADOOP-16697. Tune/audit
auth mode
URL: https://github.com/apache/hadoop/pull/1707#discussion_r352129650
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/PathMetadataDynamoDBTranslation.java
##########
@@ -398,4 +398,15 @@ static String primaryKeyToString(PrimaryKey item) {
}
return "s3a://" + parent + "/" + child;
}
+
+ /**
+ * Create an empty dir marker which, when passed to the
+ * DDB metastore, is considered authoritative.
+ * @param status file status
+ * @return path metadata.
+ */
+ static PathMetadata emptyDirectoryMarker(final S3AFileStatus status) {
Review comment:
maybe change the method name to `emptyAuthoritativeDirectoryMarker`?
----------------------------------------------------------------
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]