You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Thomas Graves (Commented) (JIRA)" <ji...@apache.org> on 2012/01/09 22:45:40 UTC

[jira] [Commented] (MAPREDUCE-3645) TestJobHistory fails

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

Thomas Graves commented on MAPREDUCE-3645:
------------------------------------------

One of the errors with added debug into to print hostname and expected hostname

Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.comjunit.framework.AssertionFailedError: Host name : host1.foo.com of task attempt attempt_20120109210634113_0001_m_000002_0 obtained from history file did not match the expected value /default-rack/host1.foo.com        at org.apache.hadoop.mapred.TestJobHistory.validateTaskAttemptLevelKeyValues(TestJobHistory.java:527)        at org.apache.hadoop.mapred.TestJobHistory.validateJobHistoryFileContent(TestJobHistory.java:595)
        at org.apache.hadoop.mapred.TestJobHistory.runDoneFolderTest(TestJobHistory.java:751)        at org.apache.hadoop.mapred.TestJobHistory.testDoneFolderOnHDFS(TestJobHistory.java:621)
                
> TestJobHistory fails
> --------------------
>
>                 Key: MAPREDUCE-3645
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3645
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv1
>            Reporter: Thomas Graves
>            Priority: Blocker
>             Fix For: 0.23.0
>
>
> TestJobHistory fails.
> >>> org.apache.hadoop.mapred.TestJobHistory.testDoneFolderOnHDFS 	
> >>> org.apache.hadoop.mapred.TestJobHistory.testDoneFolderNotOnDefaultFileSystem 	
> >>> org.apache.hadoop.mapred.TestJobHistory.testHistoryFolderOnHDFS 	
> >>> org.apache.hadoop.mapred.TestJobHistory.testJobHistoryFile 
> It looks like this was introduced by MAPREDUCE-3349 and the issue is that the test expects the hostname to be in the format rackname/hostname, but with 3349 it split those apart into 2 different fields.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira