[ https://issues.apache.org/jira/browse/MAPREDUCE-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated MAPREDUCE-4629: ---------------------------------------- Attachment: MR-4629.patch Uploading a patch that fixes this issue. The patch: - corrects the adjustment in directoryTime() and timestamDirectoryComponent() for DEBUG_MODE - adds tests to ensure correct behavior > In DEBUG_MODE, JobHistory#directoryTime() returns incorrect time > ---------------------------------------------------------------- > > Key: MAPREDUCE-4629 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4629 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 1.0.3 > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Attachments: MR-4629.patch > > > The helper methods in JobHistory - directoryTime() and > timestampDirectoryComponent() - adjust the month field for readability (Jan > is 0 as per Calendar, 1 for us) > In DEBUG_MODE, JobHistory uses hour instead of month. However, the adjustment > is still applied. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira