FAQ
fsck reports the fs as healthy even when all replicas of a block are corrupted by overwriting them with smaller content
-----------------------------------------------------------------------------------------------------------------------

Key: HDFS-2376
URL: https://issues.apache.org/jira/browse/HDFS-2376
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 0.20.205.0
Reporter: Arpit Gupta


Here is the issue
1. Find all 3 replicas for a block
2. Corrupt the 3 blocks by overwriting them with smaller content
3. cat the file which had the above block (cat fails as content is not correct)
4. run fsck and fsck still reports the fs as healthy

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Arpit Gupta (Resolved) (JIRA) at Sep 27, 2011 at 7:54 pm
    [ https://issues.apache.org/jira/browse/HDFS-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Arpit Gupta resolved HDFS-2376.
    -------------------------------

    Resolution: Duplicate

    Resolving it as duplicate of HDFS-2263
    fsck reports the fs as healthy even when all replicas of a block are corrupted by overwriting them with smaller content
    -----------------------------------------------------------------------------------------------------------------------

    Key: HDFS-2376
    URL: https://issues.apache.org/jira/browse/HDFS-2376
    Project: Hadoop HDFS
    Issue Type: Bug
    Affects Versions: 0.20.205.0
    Reporter: Arpit Gupta

    Here is the issue
    1. Find all 3 replicas for a block
    2. Corrupt the 3 blocks by overwriting them with smaller content
    3. cat the file which had the above block (cat fails as content is not correct)
    4. run fsck and fsck still reports the fs as healthy
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedSep 27, '11 at 6:24p
activeSep 27, '11 at 7:54p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Arpit Gupta (Resolved) (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase