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

Reply via email to