You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2015/02/10 23:44:12 UTC

[jira] [Resolved] (YARN-2240) yarn logs can get corrupted if the aggregator does not have permissions to the log file it tries to read

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

Mit Desai resolved YARN-2240.
-----------------------------
    Resolution: Duplicate

> yarn logs can get corrupted if the aggregator does not have permissions to the log file it tries to read
> --------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2240
>                 URL: https://issues.apache.org/jira/browse/YARN-2240
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Mit Desai
>
> When the log aggregator is aggregating the logs, it writes the file length first. Then tries to open the log file and if it does not have permission to do that, it ends up just writing an error message to the aggregated logs.
> The mismatch between the file length and the actual length here makes the aggregated logs corrupted.



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