[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066733#comment-13066733
 ] 

Harsh J commented on MAPREDUCE-2623:
------------------------------------

Failing test {{TestRecoveryManager}} does not seem to be related to the patch. 
It runs fine locally for me with patch applied:

{code}
$ ant -Dtestcase=TestRecoveryManager test-core
…
    [junit] Running org.apache.hadoop.mapred.TestRecoveryManager
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 273.575 sec
…
BUILD SUCCESSFUL
Total time: 4 minutes 57 seconds
{code}

It is probably timing out due to a high amount of time used.

> 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
>            Assignee: Harsh J
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2623.r1.diff, MAPREDUCE-2623.r2.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


Reply via email to