hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5386) Refresh job retention time,job cleaner interval, enable/disable cleaner
Date Thu, 25 Jul 2013 16:39:49 GMT

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

Jason Lowe commented on MAPREDUCE-5386:

bq. Was there an intent for a more comprehensive test? I see a lot of refactoring for methods
that seem unrelated to this patch otherwise (e.g.: scanDirectoryForHistoryFilesWrapper, deleteDir,

My apologies, I totally missed the new test file which makes extensive use of these.  I must
have been looking at just the git diff output after applying your patch instead of the patch

Rather than use the scanDirectoryForHistoryFilesWrapper, I think it'd be cleaner if we just
promote scanDirectoryForHistoryFilesWrapper to a protected method so tests can override it.
 It's currently a private method and no callers require it to be static.
> Refresh job retention time,job cleaner interval, enable/disable cleaner
> -----------------------------------------------------------------------
>                 Key: MAPREDUCE-5386
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5386
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: jobhistoryserver
>    Affects Versions: 2.1.0-beta
>            Reporter: Ashwin Shankar
>            Assignee: Ashwin Shankar
>              Labels: features
>         Attachments: JOB_RETENTION-1.txt, JOB_RETENTION-2.txt, JOB_RETENTION-3.txt, JOB_RETENTION-4.txt
> We want to be able to refresh following job retention parameters
> without having to bounce the history server :
> 1. Job retention time - mapreduce.jobhistory.max-age-ms
> 2. Cleaner interval - mapreduce.jobhistory.cleaner.interval-ms
> 3. Enable/disable cleaner -mapreduce.jobhistory.cleaner.enable

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