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

Jonathan Eagles updated TEZ-2073:
---------------------------------
    Attachment: TEZ-2073.1.patch

This patch avoids the umask by using the raw file system object as pointed out 
by jason. As another consequence, the crc file is no longer being uploaded to 
the logs as well.

[~hitesh], [~jlowe], can you comment on this patch?

> SimpleHistoryLoggingService cannot be read by log aggregation (umask)
> ---------------------------------------------------------------------
>
>                 Key: TEZ-2073
>                 URL: https://issues.apache.org/jira/browse/TEZ-2073
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>         Attachments: TEZ-2073.1.patch
>
>
> Nodemanager logs have the following log aggregation error.
> In a system where default fs.permissions.umask-mode=077. All file can be 
> aggregated except the Simple History file since it writes files using the 
> system's default FileSystem umask.
> {quote}
> [LogAggregationService #278] ERROR logaggregation.AggregatedLogFormat: Error 
> aggregating log file. Log file : 
> /tmp/yarn-logs/application_1423009000687_15308/container_e04_1423009000687_15308_01_000001/history.txt.appattempt_1423009000687_15308_000001.
>  
> /tmp/yarn-logs/application_1423009000687_15308/container_e04_1423009000687_15308_01_000001/history.txt.appattempt_1423009000687_15308_000001
>  (Permission denied)



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

Reply via email to