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

Naganarasimha G R updated YARN-2934:
------------------------------------
    Attachment: YARN-2934.v1.004.patch

Thanks for the comments [~nijel],
bq. What if this give multiple error files ?
Currenly i am  going under the assumption that the logs needs to be only 
fetched from stderr and hence there is less possibility of multiple files, but 
if app is submitted wrongly configured file names then the first file matching 
the pattern is picked.

Other comment for error message is corrected, also discussed with 
[~rohithsharma], we felt that Regex is better as we can specify multiple 
patterns in a single pattern which can help in future multiple apps scenario.
Uploading a patch With *Regex Pattern* approach

> Improve handling of container's stderr 
> ---------------------------------------
>
>                 Key: YARN-2934
>                 URL: https://issues.apache.org/jira/browse/YARN-2934
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Gera Shegalov
>            Assignee: Naganarasimha G R
>            Priority: Critical
>         Attachments: YARN-2934.v1.001.patch, YARN-2934.v1.002.patch, 
> YARN-2934.v1.003.patch, YARN-2934.v1.004.patch
>
>
> Most YARN applications redirect stderr to some file. That's why when 
> container launch fails with {{ExitCodeException}} the message is empty.



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

Reply via email to