hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9363) Add fetchReplica() to FsDatasetTestUtils to return FsDataset-agnostic Replica.
Date Wed, 04 Nov 2015 23:41:28 GMT

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

Hudson commented on HDFS-9363:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #628 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/628/])
HDFS-9363. Add fetchReplica to FsDatasetTestUtils to return (lei: rev 5667129276c3123ecb0a96b78d5897431c47a9d5)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImplTestUtils.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPipelines.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestInterDatanodeProtocol.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/FsDatasetTestUtils.java


> Add fetchReplica() to FsDatasetTestUtils to return FsDataset-agnostic Replica.
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-9363
>                 URL: https://issues.apache.org/jira/browse/HDFS-9363
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: HDFS, test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Minor
>             Fix For: 3.0.0, 2.8.0
>
>         Attachments: HDFS-9363.001.patch
>
>
> {{FsDatasetTestUtils()}} abstracts away the details in {{FsDataset}} to allow writing
generic tests regardless of underlying {{FsDataset}} implementations. We can add a {{fetchReplica()}}
method to allow some HDFS tests to avoid using {{FsDatasetTestUtil#fetchReplicaInfo()}}, which
assumes FsDatasetImpl is the only implementation of FsDataset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message