[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maysam Yabandeh updated MAPREDUCE-5267:
---------------------------------------

    Attachment: MAPREDUCE-5267.patch

The attached patch fixes the problem and also adds a unit test to demonstrate 
that.
                
> History server should be more robust when cleaning old jobs
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-5267
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5267
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobhistoryserver
>    Affects Versions: 0.23.7, 2.0.4-alpha
>            Reporter: Jason Lowe
>            Assignee: Maysam Yabandeh
>         Attachments: MAPREDUCE-5267.patch, MAPREDUCE-5267.patch
>
>
> Ran across a situation where an admin user had accidentally created a 
> directory in one of the date directories under /mapred/history/done/ that was 
> not readable by the historyserver user.  That effectively prevented the 
> history server from cleaning any jobs from that date forward, as it hit an 
> IOException trying to scan the directory and that aborted the entire clean 
> process.
> The history server should localize IOException handling to the directory/file 
> being processed and move on to the next entry in the list rather than 
> aborting the entire cleaning process.

--
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

Reply via email to