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/23 21:35:50 UTC

[jira] Commented: (HADOOP-5554) DataNodeCluster should create blocks with the same generation stamp as the blocks created in CreateEditsLog

    [ https://issues.apache.org/jira/browse/HADOOP-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688404#action_12688404 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5554:
------------------------------------------------

This patch changes tools for manual tests.  I think we don't have junit for these test tools.  So, I suggest to do some manual tests instead of waiting for Hudson.

> DataNodeCluster should create blocks with the same generation stamp as the blocks created in CreateEditsLog
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5554
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5554
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.19.2
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.19.2, 0.20.0, 0.21.0
>
>         Attachments: blockGS.patch
>
>
> HADOOP-5384 makes DataNodeCluster to create blocks with generation stamp Block#GRANDFATHER_GENERATION_STAMP(0) so simuated datanodes do not crash NameNode any more. But there is still a problem. CreateEditLogs creates blocks with generation stamp GenerationStamp#FIRST_VALID_STAMP (1000). Because of the generation stamp mismatch, all injected blocks are marked as invalid when NameNode processes block reports.

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