[
https://issues.apache.org/jira/browse/MAPREDUCE-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karthik Kambatla updated MAPREDUCE-4629:
----------------------------------------
Description:
Remove JobHistory.DEBUG_MODE for the following reasons:
1. No one seems to be using it - the config parameter corresponding to enabling
it does not even exist in mapred-default.xml
2. The logging being done in DEBUG_MODE needs to move to LOG.debug() and
LOG.trace()
3. Buggy handling of helper methods in DEBUG_MODE; e.g. directoryTime() and
timestampDirectoryComponent().
was:
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.
Affects Version/s: 2.0.0-alpha
Hadoop Flags: Incompatible change
Summary: Remove JobHistory.DEBUG_MODE (was: In DEBUG_MODE,
JobHistory#directoryTime() returns incorrect time)
> Remove JobHistory.DEBUG_MODE
> ----------------------------
>
> Key: MAPREDUCE-4629
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4629
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 1.0.3, 2.0.0-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: MR-4629.patch, MR-4629.patch.v1
>
>
> Remove JobHistory.DEBUG_MODE for the following reasons:
> 1. No one seems to be using it - the config parameter corresponding to
> enabling it does not even exist in mapred-default.xml
> 2. The logging being done in DEBUG_MODE needs to move to LOG.debug() and
> LOG.trace()
> 3. Buggy handling of helper methods in DEBUG_MODE; e.g. directoryTime() and
> timestampDirectoryComponent().
--
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