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

Enis Soztutar updated HADOOP-3950:
----------------------------------

    Attachment: Hadoop-3950_v1.patch

Attaching a patch, which fixes MiniMRCluster to wait for all the TaskTrackers 
to be recognized by JobTracker at initialization.
 

> TestMapRed and TestMiniMRDFSSort failed on trunk
> ------------------------------------------------
>
>                 Key: HADOOP-3950
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3950
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Enis Soztutar
>         Attachments: Hadoop-3950_v1.patch
>
>
> - TestMapRed failed on Windows and Linux
> {noformat}
> Testcase: testMapred took 7.36 sec
>       Caused an ERROR
> Not a file: 
> file:/d:/@sze/hadoop/trunk/mapred.loadtest/intermediateouts/part-00000/data
> java.io.IOException: Not a file: 
> file:/d:/@sze/hadoop/trunk/mapred.loadtest/intermediateouts/part-00000/data
>       at 
> org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:195)
>       at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:740)
>       at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1036)
>       at org.apache.hadoop.mapred.TestMapRed.launch(TestMapRed.java:614)
>       at org.apache.hadoop.mapred.TestMapRed.testMapred(TestMapRed.java:248)
> {noformat}
> - TestMiniMRDFSSort failed on Windows 
> {noformat}
> Testcase: testMapReduceSort took 21.312 sec
>       Caused an ERROR
> File does not exist: /tmp/sortvalidate/recordstatschecker/part-00000
> java.io.FileNotFoundException: File does not exist: 
> /tmp/sortvalidate/recordstatschecker/part-00000
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:404)
>       at org.apache.hadoop.fs.FileSystem.getLength(FileSystem.java:677)
>       at 
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1416)
>       at 
> org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1411)
>       at 
> org.apache.hadoop.mapred.SortValidator$RecordStatsChecker.checkRecords(SortValidator.java:370)
>       at org.apache.hadoop.mapred.SortValidator.run(SortValidator.java:561)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>       at 
> org.apache.hadoop.mapred.TestMiniMRDFSSort.runSortValidator(TestMiniMRDFSSort.java:73)
>       at 
> org.apache.hadoop.mapred.TestMiniMRDFSSort.testMapReduceSort(TestMiniMRDFSSort.java:99)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to