[
https://issues.apache.org/jira/browse/HADOOP-18752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728794#comment-17728794
]
ASF GitHub Bot commented on HADOOP-18752:
-----------------------------------------
steveloughran commented on code in PR #5689:
URL: https://github.com/apache/hadoop/pull/5689#discussion_r1214527663
##########
hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/directory_markers.md:
##########
@@ -161,7 +176,7 @@ When a file is created under a path, the directory marker
is deleted. And when a
file is deleted, if it was the last file in the directory, the marker is
recreated.
-And, historically, When a path is listed, if a marker to that path is found,
*it
+And, historically, when a path is listed, if a marker to that path is found,
*it
has been interpreted as an empty directory.*
Review Comment:
it is for some specific codepaths which do a probe which explicitly looks
for empty dirs, rm and mv in particular.
> Change fs.s3a.directory.marker.retention to "keep"
> --------------------------------------------------
>
> Key: HADOOP-18752
> URL: https://issues.apache.org/jira/browse/HADOOP-18752
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.3.5
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Labels: pull-request-available
>
> Change the default value of "fs.s3a.directory.marker.retention" to keep;
> update docs to match.
> maybe include with HADOOP-17802 so we don't blow up with fewer markers being
> created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]