hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-616) Create functional tests for new design of the block report
Date Tue, 29 Sep 2009 19:35:08 GMT

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

Konstantin Boudnik commented on HDFS-616:
-----------------------------------------

I've moved the test to namenode package in order to access the {{blockManager}} instance from
{{Namesystem}}.
However the size of {{recentInvalidateSets}} equals to 0. The content of this collection is
updated by {{BlockManager.processReport}} and by the time the test's accessing it NN's blockreport
is suppose to be complete. Which means that there might be a problem with {{DataNode.reportDiff()}}
or else.

As for {{getReplica()}} call: I agree that a replica's reference shouldn't be exposed outside
of {{FSDataset}}.
However, at the moment there's no alternative. Shall it be fixed separately?

> Create functional tests for new design of the block report
> ----------------------------------------------------------
>
>                 Key: HDFS-616
>                 URL: https://issues.apache.org/jira/browse/HDFS-616
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Append Branch
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HDFS-616.patch, HDFS-616.patch, HDFS-616.patch, HDFS-616.patch
>
>


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


Mime
View raw message