steveloughran commented on a change in pull request #1707: HADOOP-16697. Tune/audit auth mode URL: https://github.com/apache/hadoop/pull/1707#discussion_r355980460
########## 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: done ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org