You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "purshotam shah (JIRA)" <ji...@apache.org> on 2011/08/30 08:10:37 UTC

[jira] [Created] (HADOOP-7591) JobHistory cleanup task causing JT going OOM

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

        

[jira] [Commented] (HADOOP-7591) JobHistory cleanup task causing JT going OOM

Posted by "purshotam shah (JIRA)" <ji...@apache.org>.
    [ 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