[ 
https://issues.apache.org/jira/browse/YARN-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-1936:
------------------------------

    Attachment: YARN-1936.1.patch

I created a patch:

1. It makes use of the hadoop-auth module and YARN-2049 to talk to the timeline 
server with either kerberos authentication or delegation token:

2. I creates a main method, which allows users to upload the timeline data in a 
JSON file from command line.

3. When using YarnClient to submit an application, if the authentication is 
enabled, YarnClient is going to check whether app submission context has the 
timeline DT or not. If not, it will add the DT to the context, such that when 
AM uses TimelineClient, it can use the DT for authentication, as it can not use 
kerberos instead.

> Secured timeline client
> -----------------------
>
>                 Key: YARN-1936
>                 URL: https://issues.apache.org/jira/browse/YARN-1936
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-1936.1.patch
>
>
> TimelineClient should be able to talk to the timeline server with kerberos 
> authentication or delegation token



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to