hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liyin Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1843) LinuxContainerExecutor should always log output
Date Tue, 18 Mar 2014 09:25:43 GMT

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

Liyin Liang commented on YARN-1843:

The patch introduces spurious dependencies on zookeeper. Any reason we can't use Hadoop version
of those classes?
Sorry, I can't catch you. Is there any dependency on zookeeper? 
If we want shExec.execute() to always log output, we should probably do it in a finally clause
and not immediately after execute in try-block. No?
It's a very good idea to log output in a finally clause. 

> LinuxContainerExecutor should always log output
> -----------------------------------------------
>                 Key: YARN-1843
>                 URL: https://issues.apache.org/jira/browse/YARN-1843
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.3.0
>            Reporter: Liyin Liang
>            Priority: Trivial
>         Attachments: YARN-1843.diff
> If debug is enable, LinuxContainerExecutor should aloways log output after shExec.execute().

This message was sent by Atlassian JIRA

View raw message