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

Gour Saha commented on YARN-8309:
---------------------------------

Once a fix for YARN-8308 is provided this diagnostics message fix won't be 
required. In fact, from the code perspective, the phase at which the token 
issue occurs, ATSv2 publisher initialization and RM registration cannot be 
done. So technically diagnostics message cannot be enhanced by AM.

> Diagnostic message for yarn service app failure due token renewal should be 
> improved
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-8309
>                 URL: https://issues.apache.org/jira/browse/YARN-8309
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Yesha Vora
>            Priority: Major
>
> When Yarn service application failed due to token renewal issue , The 
> diagonstic message was unclear . 
> {code:java}
> Application application_1526413043392_0002 failed 20 times due to AM 
> Container for appattempt_1526413043392_0002_000020 exited with exitCode: 1 
> Failing this attempt.Diagnostics: [2018-05-15 23:15:28.779]Exception from 
> container-launch. Container id: container_e04_1526413043392_0002_20_000001 
> Exit code: 1 Exception message: Launch container failed Shell output: main : 
> command provided 1 main : run as user is hbase main : requested yarn user is 
> hbase Getting exit code file... Creating script paths... Writing pid file... 
> Writing to tmp file 
> /grid/0/hadoop/yarn/local/nmPrivate/application_1526413043392_0002/container_e04_1526413043392_0002_20_000001/container_e04_1526413043392_0002_20_000001.pid.tmp
>  Writing to cgroup task files... Creating local dirs... Launching 
> container... Getting exit code file... Creating script paths... [2018-05-15 
> 23:15:28.806]Container exited with a non-zero exit code 1. Error file: 
> prelaunch.err. Last 4096 bytes of prelaunch.err : [2018-05-15 
> 23:15:28.807]Container exited with a non-zero exit code 1. Error file: 
> prelaunch.err. Last 4096 bytes of prelaunch.err : For more detailed output, 
> check the application tracking page: 
> https://xxx:8090/cluster/app/application_1526413043392_0002 Then click on 
> links to logs of each attempt. . Failing the application.{code}
> Here, diagnostic message should be improved to specify that AM is failing due 
> to token renewal issues.



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

Reply via email to