hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3476) Nodemanager can fail to delete local logs if log aggregation fails
Date Thu, 30 Apr 2015 10:19:06 GMT

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

Rohith updated YARN-3476:
-------------------------
    Attachment: 0001-YARN-3476.patch

Apologies for looking back to issue delayed.
bq. Would it be better to wrap the cleanup in a finally block or something a little more broadly
applicable to errors that occur?
Make sense to me. 

Uploading the patch with handling exception and do the post clean up.

> Nodemanager can fail to delete local logs if log aggregation fails
> ------------------------------------------------------------------
>
>                 Key: YARN-3476
>                 URL: https://issues.apache.org/jira/browse/YARN-3476
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: log-aggregation, nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Jason Lowe
>            Assignee: Rohith
>         Attachments: 0001-YARN-3476.patch, 0001-YARN-3476.patch
>
>
> If log aggregation encounters an error trying to upload the file then the underlying
TFile can throw an illegalstateexception which will bubble up through the top of the thread
and prevent the application logs from being deleted.



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

Mime
View raw message