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] [Commented] (HDFS-5568) Support inclusion of snapshot paths in Namenode fsck
Date Wed, 27 Nov 2013 01:30:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833315#comment-13833315
] 

Jing Zhao commented on HDFS-5568:
---------------------------------

So maybe we can also support this case here? Basically for a given path we can check if it
is in some snapshots (by check its corresponding INodesInPath). And if it is, we can identify
the corresponding snapshottable directory and then check all the snapshot paths under the
given path.

> 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, 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)

Mime
View raw message