You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Kannan Rajah (JIRA)" <ji...@apache.org> on 2014/09/11 00:44:34 UTC

[jira] [Created] (YARN-2533) Redirect stdout and stderr to a file for all applications/frameworks

Kannan Rajah created YARN-2533:
----------------------------------

             Summary: Redirect stdout and stderr to a file for all applications/frameworks
                 Key: YARN-2533
                 URL: https://issues.apache.org/jira/browse/YARN-2533
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: log-aggregation
    Affects Versions: 2.4.1
            Reporter: Kannan Rajah
            Priority: Minor


Today, we have the capability to redirect stdout and stderr of shell commands (launched tasks) to a file and also apply a tail length. This logic exists in TaskLog, YARNRunner. But these reside in map reduce specific packages. Every framework has to duplicate this logic. It would be nice to abstract this at YARN level and apply to shell commands that are launched by any framework.

ContainerLaunch.call method looks like a good candidate. Does anyone have suggestions or guidelines?



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