hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4629) In DEBUG_MODE, JobHistory#directoryTime() returns incorrect time
Date Thu, 06 Sep 2012 21:36:08 GMT

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

Robert Joseph Evans commented on MAPREDUCE-4629:

DEBUG_MODE for the history server is present also in trunk and 2.0 as well.

I don't believe that anyone is using it, but there could be a few people using it to test
the history server outside of Hadoop proper.  I am +1 for removing it.  I don't see much of
a reason to change anything at this point except to rip it out, and amybe make the debug-printing
LOG.debug.  If someone else wants similar functionality for testing we can add in targeted
configs to do things like what Karthik is suggesting.
> 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, MR-4629.patch.v1
> 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

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

View raw message