[
https://issues.apache.org/jira/browse/HDFS-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-6090:
----------------------------
Resolution: Fixed
Fix Version/s: 2.4.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed the patch to trunk, branch-2, and branch-2.4. Thanks [~ajisakaa]
for the contribution.
> Use MiniDFSCluster.Builder instead of deprecated constructors
> -------------------------------------------------------------
>
> Key: HDFS-6090
> URL: https://issues.apache.org/jira/browse/HDFS-6090
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Affects Versions: 2.3.0
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Priority: Minor
> Labels: newbie
> Fix For: 2.4.0
>
> Attachments: HDFS-6090.patch
>
>
> Some test classes are using deprecated constructors such as
> {{MiniDFSCluster(Configuration, int, boolean, String[], String[])}} for
> building a MiniDFSCluster.
> These classes should use {{MiniDFSCluster.Builder}} to reduce javac warnings
> and improve code readability.
--
This message was sent by Atlassian JIRA
(v6.2#6252)