You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/03/04 02:10:56 UTC

[jira] Updated: (HADOOP-5384) DataNodeCluster should not create blocks with generationStamp == 1

     [ https://issues.apache.org/jira/browse/HADOOP-5384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-5384:
-------------------------------------------

    Attachment: 5384_20090303.patch

5384_20090303.patch: use Block.GRANDFATHER_GENERATION_STAMP instead of 1.

> DataNodeCluster should not create blocks with generationStamp == 1
> ------------------------------------------------------------------
>
>                 Key: HADOOP-5384
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5384
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>         Attachments: 5384_20090303.patch
>
>
> In DataNodeCluster.main(..), injected blocks are created with generationStamp == 1, which is a reserved value but not a valid generation stamp.  As a consequence, NameNode may die when those blocks are reported.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.