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

Li Lu commented on YARN-6177:
-----------------------------

Thanks [~cheersyang]. My concern is with these lines:
{code}
379         } catch (NoClassDefFoundError e) {
380           if (timelineServiceBestEffort) {
381             LOG.warn("Ignore a NoClassDefFoundError when attempting to get"
382                 + " delegation token from the timeline server: " + 
e.getMessage());
383             return null;
384           }
385     
{code}

So if {{timelineServiceBestEffort}} is set to true, we'll leave a message and 
then proceed? I was think we may not need to treat 
{{timelineServiceBestEffort}} separately here since even with best effort we do 
not need to keep running on errors. 

> Yarn client should exit with an informative error message if an incompatible 
> Jersey library is used at client
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6177
>                 URL: https://issues.apache.org/jira/browse/YARN-6177
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.0, 3.0.0-alpha2
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: spark2-job-output-after-besteffort.out, 
> spark2-job-output-after.out, spark2-job-output-before.out, 
> YARN-6177.01.patch, YARN-6177.02.patch, YARN-6177.03.patch, 
> YARN-6177.04.patch, YARN-6177.05.patch
>
>
> Per discussion in YARN-5271, lets provide an error message to suggest user to 
> disable timeline service instead of disabling for them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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