hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3144) Configuration for making delegation token failures to timeline server not-fatal
Date Thu, 05 Feb 2015 00:54:34 GMT

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

Zhijie Shen commented on YARN-3144:

Getting the timeline delegation token is only invoked in case that the configuration indicates
that the timeline service is enabled. As the timeline server is not the always-up daemon like
RM/NM, such that we have this config to indicate the timeline service has been setup for this
cluster. It seems more like a misconfiguration issue.

I think it makes sense when the timeline server is up, the user still don't need to get a
timeline delegation token, because the application will never use it. In this case, getting
the DT doesn't harm (unless the request fails). On the other side, if the app really needs
the DT to posting timeline data to the server, isn't it better to fail early instead of at
runtime? For job history server, we did similar thing in YARNRunner.

For the connection refused scenario, I think the proper approach is to fix the communication
channel to be more stable, though returning null instead of through exception may be quick
work around to suppress the issue given not may apps are using the service now.

> Configuration for making delegation token failures to timeline server not-fatal
> -------------------------------------------------------------------------------
>                 Key: YARN-3144
>                 URL: https://issues.apache.org/jira/browse/YARN-3144
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: YARN-3144.1.patch
> Posting events to the timeline server is best-effort. However, getting the delegation
tokens from the timeline server will kill the job. This patch adds a configuration to make
get delegation token operations "best-effort".

This message was sent by Atlassian JIRA

View raw message