[ https://issues.apache.org/jira/browse/YARN-8043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403744#comment-16403744 ]
Shane Kumpf commented on YARN-8043: ----------------------------------- 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 > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org