hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6288) Refactor AppLogAggregatorImpl#uploadLogsForContainers
Date Mon, 06 Mar 2017 06:03:32 GMT

    [ https://issues.apache.org/jira/browse/YARN-6288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896774#comment-15896774
] 

Akira Ajisaka commented on YARN-6288:
-------------------------------------

If an exception occurs when the writer is not ready or closed, {{writer.close()}} is called
in the finally clause and throws IllegalStateException instead of the original exception.
That way we cannot detect what is the original exception. I'd like to catch the original exception
and log it.

> Refactor AppLogAggregatorImpl#uploadLogsForContainers
> -----------------------------------------------------
>
>                 Key: YARN-6288
>                 URL: https://issues.apache.org/jira/browse/YARN-6288
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Akira Ajisaka
>            Priority: Minor
>              Labels: supportability
>
> In AppLogAggregatorImpl.java, if an exception occurs in writing container log to remote
filesystem, the exception is not caught and ignored.
> https://github.com/apache/hadoop/blob/f59e36b4ce71d3019ab91b136b6d7646316954e7/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java#L398



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message