You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/09/27 20:23:45 UTC

[jira] [Created] (HDFS-2376) fsck reports the fs as healthy even when all replicas of a block are corrupted by overwriting them with smaller content

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

        

[jira] [Resolved] (HDFS-2376) fsck reports the fs as healthy even when all replicas of a block are corrupted by overwriting them with smaller content

Posted by "Arpit Gupta (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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