[
https://issues.apache.org/jira/browse/MAPREDUCE-3349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated MAPREDUCE-3349:
-----------------------------------------------
Fix Version/s: (was: 0.24.0)
0.23.1
Status: Open (was: Patch Available)
Looked at the patch. Mostly is fine.
The changes in JobBuilder are buggy. It should just be:
{code}
- ParsedHost parsedHost = getAndRecordParsedHost(event.getHostname());
-
- if (parsedHost != null) {
- attempt.setLocation(parsedHost.makeLoggedLocation());
- }
+ attempt.setHostName(event.getHostname(), event.getRackName());
+ attempt.setLocation(new ParsedHost(event.getRackName(), event
+ .getHostname()).makeLoggedLocation());
{code}
Also, can you please make sure TestRumenJobTraces passes?
> No rack-name logged in JobHistory for unsuccessful tasks
> --------------------------------------------------------
>
> Key: MAPREDUCE-3349
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3349
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Devaraj K
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3349.patch
>
>
> Found this while running jobs on a cluster with [~Karams].
> This is because TaskAttemptUnsuccessfulCompletionEvent history record doesn't
> have a rack field.
--
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