hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Kumpf (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-8043) Add the exception message for failed launches running under LCE
Date Sat, 17 Mar 2018 21:53:00 GMT

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

Shane Kumpf edited comment on YARN-8043 at 3/17/18 9:52 PM:
------------------------------------------------------------

I believe the intent of the {{output}} and {{errorOutput}} fields in {{ContainerExecutionException}}
was to represent stdout/stderr for a shell command.The easy fix here is to add a {{getMessage}}
call to the diagnostics output and clearly display what "errorOutput" is. I'll put up a patch
that does that.


was (Author: shanekumpf@gmail.com):
I believe the intent for the {{output}} and {{errorOutput}} fields in {{ContainerExecutionException}}
were meant to represent stdout/stderr for a shell command.The easy fix here is to add a {{getMessage}}
call to the diagnostics output and clearly display what "errorOutput" is. I'll put up a patch
that does that.

> Add the exception message for failed launches running under LCE
> ---------------------------------------------------------------
>
>                 Key: YARN-8043
>                 URL: https://issues.apache.org/jira/browse/YARN-8043
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>            Priority: Major
>
> If a {{ContainerExecutionException}} is thrown during container launch under LCE information
is added to the diagnostics for the container regarding the failure. The diagnostic's output
includes the container id, exit code, "error output" and "shell output", with the expectation
that the relevant exception details are in the "error output". 
> {{ContainerExecutionException}} has several constructors, with the most commonly used
being the one that accepts a String. This form does not put the exception details into the
"error output". This makes it difficult for the user to troubleshoot the failure.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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