hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2623) Update ClusterMapReduceTestCase to use MiniDFSCluster.Builder
Date Mon, 27 Jun 2011 08:11:48 GMT

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

Harsh J updated MAPREDUCE-2623:

    Attachment: MAPREDUCE-2623.r1.diff

(Saw it was unassigned, so picked it up!)

This should cover the change. I ran {{TestJobName}}, which uses it, and it succeeded. Lets
see if QA says the sameā€¦

> Update ClusterMapReduceTestCase to use MiniDFSCluster.Builder
> -------------------------------------------------------------
>                 Key: MAPREDUCE-2623
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2623
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Jim Plush
>            Priority: Minor
>             Fix For: 0.23.0
>         Attachments: MAPREDUCE-2623.r1.diff
> Looking at test class ClusterMapReduceTestCase it issues a warning that the dfsCluster
= new MiniDFSCluster(conf, 2, reformatDFS, null); line of code is deprecated and MiniDFSCluster.Builder
should be used instead. It notes that the current API will be phased out in version 24. I
propose to update the test class to the most up to date code as it's referenced several places
on the internet as an example of how to write a Hadoop Unit Test.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message