hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shen Yinjie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6006) Log aggregation causes nodemanager OOM
Date Thu, 15 Dec 2016 08:02:58 GMT

    [ https://issues.apache.org/jira/browse/YARN-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15750717#comment-15750717
] 

Shen Yinjie commented on YARN-6006:
-----------------------------------

refer to code.
{code}    private void writeVersion() throws IOException {
      DataOutputStream out = this.writer.prepareAppendKey(-1);
      VERSION_KEY.write(out);
      out.close();
      out = this.writer.prepareAppendValue(-1);
      out.writeInt(VERSION);
      out.close();
    } {code}
{{DataOutputStream out}} may cannot be closed while exception occurs.so need to add {{finally}}
module to ensure stream  closed..

> Log aggregation causes nodemanager OOM
> --------------------------------------
>
>                 Key: YARN-6006
>                 URL: https://issues.apache.org/jira/browse/YARN-6006
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Shen Yinjie
>         Attachments: e.png
>
>
> log aggregation is enabled, nodemanager died with oom exception. exception as sreenshot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message