[
https://issues.apache.org/jira/browse/HDFS-9841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Zhuge reassigned HDFS-9841:
--------------------------------
Assignee: John Zhuge
> FileDiff's skipped by hdfs snapshotDiff
> ---------------------------------------
>
> Key: HDFS-9841
> URL: https://issues.apache.org/jira/browse/HDFS-9841
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: snapshots
> Affects Versions: 2.5.0
> Reporter: Alex Ivanov
> Assignee: John Zhuge
>
> Summary
> As described in [HDFS-9197|https://issues.apache.org/jira/browse/HDFS-9197],
> FileDiff's get created based on changes in a file's _modified_ or _access_
> time. In Hadoop 2.5, the method
> [metadataEquals|http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hadoop/hadoop-hdfs/2.5.0/org/apache/hadoop/hdfs/server/namenode/INodeFileAttributes.java#INodeFileAttributes.SnapshotCopy.metadataEquals%28org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes%29]
> was added to _org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes_.
> The *hdfs snapshotDiff* command seems to use the method to show a list of
> snapshot metadata diff's, but because the method doesn't check for the times,
> you CANNOT see the time-based FileDiff's in the comparison. This used to work
> before Hadoop 2.5. I see the new behavior as problematic because the user no
> longer has an accurate picture of all the Namenode metadata created for a
> snapshot unless he looks at the fsimage.
> Configuration:
> CDH 5.5.1 (Hadoop 2.6)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)