[
https://issues.apache.org/jira/browse/HADOOP-13625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283354#comment-16283354
]
Ewan Higgs commented on HADOOP-13625:
-------------------------------------
{quote}{code}
FileSystem#createSnapshot
{code}{quote}
Obviously on the {{.snapshot/...}} directory the mtime should be the time of
creation, but should the mtime of the directory being snapshotted be updated?
This means two consecutive snapshots will not result in a 'no differences' diff
due to the differring mtimes.
> Document FileSystem actions that trigger update of modification time.
> ---------------------------------------------------------------------
>
> Key: HADOOP-13625
> URL: https://issues.apache.org/jira/browse/HADOOP-13625
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Chris Nauroth
>
> Hadoop users and developers of Hadoop-compatible file systems have sometimes
> asked questions about which file system actions trigger an update of the
> path's modification time. This issue proposes to document which actions do
> and do not update modification time, so that the information is easy to find
> without reading HDFS code or manually testing individual cases.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]