[ https://issues.apache.org/jira/browse/YARN-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated YARN-949: ---------------------------- Attachment: YARN-949.patch The patch makes uploadLogsForContainer() catch Exception, not just IOException and log. If one input was the cause, the corresponding container log will be skipped. If the output was the cause, appending the next container log may or may not work. In any case, the writer will be closed and subsequent cleanup will happen. > Failed log aggregation can leave a file open. > --------------------------------------------- > > Key: YARN-949 > URL: https://issues.apache.org/jira/browse/YARN-949 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.1.0-beta, 0.23.9 > Reporter: Kihwal Lee > Attachments: YARN-949.patch > > > If log aggregation fails on a node manager, the output file in hdfs can be > left open. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira