[
https://issues.apache.org/jira/browse/MAPREDUCE-4643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462346#comment-13462346
]
Karthik Kambatla commented on MAPREDUCE-4643:
---------------------------------------------
Thanks for the patch, Sandy. It looks like it should work.
Minor comments:
# In {{JobHistory.directoryTime()}}, the initial comments do not apply anymore
and can be removed
# Do you want to add a test to verify the timely deletion of history files?
(Now, I see that this test would fix MAPREDUCE-4676 as well). Do you think you
can add a test here and mark the other one duplicate?
> Make job-history cleanup-period configurable
> --------------------------------------------
>
> Key: MAPREDUCE-4643
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4643
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobhistoryserver
> Affects Versions: 1.0.3
> Reporter: Karthik Kambatla
> Assignee: Sandy Ryza
> Attachments: MAPREDUCE-4643-branch1.patch, MAPREDUCE-4643.patch
>
>
> Job history cleanup should be made configurable. Currently, it is set to 1
> month by default. The DEBUG_MODE (to be removed, see MAPREDUCE-4629) sets it
> to 20 minutes, but it should be configurable.
--
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