[
https://issues.apache.org/jira/browse/HDFS-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei (Eddy) Xu updated HDFS-9281:
--------------------------------
Description:
{{TestDeleteBlockPool}} checks the existence of a block pool by checking the
directories in the file-based block pool exists. However, it does not apply to
non file based fsdataset.
We can fix it by abstracting the checking logic behind {{FsDatasetTestUtils}}.
was:
{{TestDiskError}} checks the existence of a block pool by checking the
directories in the file-based block pool exists. However, it does not apply to
non file based fsdataset.
We can fix it by abstracting the checking logic behind {{FsDatasetTestUtils}}.
> Change TestDeleteBlockPool to not explicitly use File to check block pool
> existence.
> ------------------------------------------------------------------------------------
>
> Key: HDFS-9281
> URL: https://issues.apache.org/jira/browse/HDFS-9281
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: HDFS, test
> Affects Versions: 2.7.1
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Priority: Minor
>
> {{TestDeleteBlockPool}} checks the existence of a block pool by checking the
> directories in the file-based block pool exists. However, it does not apply
> to non file based fsdataset.
> We can fix it by abstracting the checking logic behind {{FsDatasetTestUtils}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)