hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9363) Add fetchReplica() to FsDatasetTestUtils()
Date Tue, 03 Nov 2015 01:10:27 GMT
Tony Wu created HDFS-9363:
-----------------------------

             Summary: Add fetchReplica() to FsDatasetTestUtils()
                 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


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