hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9063) Correctly handle snapshot path for getContentSummary
Date Fri, 11 Sep 2015 17:35:45 GMT
Jing Zhao created HDFS-9063:
-------------------------------

             Summary: Correctly handle snapshot path for getContentSummary
                 Key: HDFS-9063
                 URL: https://issues.apache.org/jira/browse/HDFS-9063
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Jing Zhao
            Assignee: Jing Zhao


The current getContentSummary implementation does not take into account the snapshot path,
thus if we have the following ops:
1. create dirs /foo/bar
2. take snapshot s1 on /foo
3. create a 1 byte file /foo/bar/baz

then "du /foo" and "du /foo/.snapshot/s1" can report same results for "bar", which is incorrect
since the 1 byte file is not included in snapshot s1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message