[jira] [Updated] (HDFS-9363) Add fetchReplica() to FsDatasetTestUtils to return FsDataset-agnostic Replica.

2015-11-24 Thread Tsz Wo Nicholas Sze (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo Nicholas Sze updated HDFS-9363:
--
Component/s: (was: HDFS)

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


[jira] [Updated] (HDFS-9363) Add fetchReplica() to FsDatasetTestUtils to return FsDataset-agnostic Replica.

2015-11-04 Thread Lei (Eddy) Xu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei (Eddy) Xu updated HDFS-9363:

Summary: Add fetchReplica() to FsDatasetTestUtils to return 
FsDataset-agnostic Replica.  (was: Add fetchReplica() to FsDatasetTestUtils())

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


[jira] [Updated] (HDFS-9363) Add fetchReplica() to FsDatasetTestUtils to return FsDataset-agnostic Replica.

2015-11-04 Thread Lei (Eddy) Xu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei (Eddy) Xu updated HDFS-9363:

   Resolution: Fixed
Fix Version/s: 2.8.0
   3.0.0
   Status: Resolved  (was: Patch Available)

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