[
https://issues.apache.org/jira/browse/HDFS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905547#comment-13905547
]
Kihwal Lee commented on HDFS-5962:
----------------------------------
It should be easy to add a test case for this. Start a mini cluster, create a
symlink, do saveNamespace and restart the namenode. Compare the time stamp
before and after. Directory (mtime) and file inode (mtime and atime) can be
covered in the same test.
> Mtime and atime are not persisted for symbolic links
> ----------------------------------------------------
>
> Key: HDFS-5962
> URL: https://issues.apache.org/jira/browse/HDFS-5962
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Kihwal Lee
> Assignee: Akira AJISAKA
> Priority: Critical
> Attachments: HDFS-5692.patch, HDFS-5962.2.patch
>
>
> In {{FSImageSerialization}}, the mtime and atime of symbolic links are
> hardcoded to be 0 when saving to fsimage, even though they are recorded in
> memory and shown in the listing until restarting namenode.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)