[ https://issues.apache.org/jira/browse/HDFS-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832442#comment-13832442 ]
Vinay commented on HDFS-5568: ----------------------------- bq. they are something special files and not as part of main file tree logically. On user interest we can include them like openfiles. Yes, I agree, they are special files. Since blocks inside only snapshots are also counted in deciding the overall cluster health, I think it will be good to consider these always. For openfiles we already have a separate flag. If you strongly feel flagging is enough, then also I am ok with it. > Support inclusion of snapshot paths in Namenode fsck > ---------------------------------------------------- > > Key: HDFS-5568 > URL: https://issues.apache.org/jira/browse/HDFS-5568 > Project: Hadoop HDFS > Issue Type: Improvement > Components: snapshots > Reporter: Vinay > Assignee: Vinay > Attachments: HDFS-5568-1.patch, HDFS-5568.patch > > > Support Fsck to check the snapshot paths also for inconsistency. > Currently Fsck supports snapshot paths if path given explicitly refers to a > snapshot path. > We have seen safemode problems in our clusters which were due to blocks > missing which were only present inside snapshots. But "hdfs fsck /" shows > HEALTHY. > So supporting snapshot paths also during fsck (may be by default or on > demand) would be helpful in these cases instead of specifying each and every > snapshottable directory. -- This message was sent by Atlassian JIRA (v6.1#6144)