[ 
https://issues.apache.org/jira/browse/HADOOP-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623619#action_12623619
 ] 

Enis Soztutar commented on HADOOP-3950:
---------------------------------------

TestMapRed passes after HADOOP-3946, but TestMiniMRDFSSort fails for me. 
I tracked down the issue, which seems to be due to the call to 
{{JobClient.getClusterStatus().getTaskTrackers()}} returns 0, which in turn 
causes the RandomWriter to run with 0 maps. 

I suspect the tasktracker has not finished its first heathbeat, so a call to 
getTaskTrackers() returns 0. I will look into it. 

> 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
>
> - 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