[
https://issues.apache.org/jira/browse/HADOOP-7591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093624#comment-13093624
]
purshotam shah commented on HADOOP-7591:
----------------------------------------
We should have a option for Batch Delete, rather then try to delete all files
together.
> JobHistory cleanup task causing JT going OOM
> --------------------------------------------
>
> Key: HADOOP-7591
> URL: https://issues.apache.org/jira/browse/HADOOP-7591
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Environment: JT running with 2GB heap size.
> Reporter: purshotam shah
> Priority: Minor
>
> It's failing because of Hadoop JobHistory cleanup task.
> JobHistory cleanup task, tries to clean up all the done task from the
> JT_JOBHISTORY_COMPLETED_LOCATION(/home/y/logs/hadoop/history/done).
> the directory has around 3206925 entries, it's load all files info from
> directory which cause OOM exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira