hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-539) Fault injeciton utlis for pipeline testing needs to be refactored for future reuse by other tests
Date Thu, 13 Aug 2009 21:13:14 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-539:
---------------------------------------------

It may not be safe to use LocatedBlock as a key since the object content may change from time
to time.  How about use String?
{code}
+    private HashMap<LocatedBlock, Pipeline> thepipeline = new HashMap<LocatedBlock,
Pipeline>();
{code}

> Fault injeciton utlis for pipeline testing needs to be refactored for future reuse by
other tests
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-539
>                 URL: https://issues.apache.org/jira/browse/HDFS-539
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HDFS-539.patch, HDFS-539.patch
>
>
> It turns out that the current version of the helper classes introduced by HDFS-451 isn't
very expendable. This JIRA is created to provide better API to this set of helper classes.

-- 
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