[
https://issues.apache.org/jira/browse/TEZ-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369587#comment-14369587
]
Jonathan Eagles commented on TEZ-2206:
--------------------------------------
The way the timeline client ugi works is different between 2.6 and 2.7. In 2.6,
the delegation token is retrieved for whoever inits the timeline client is the
and the ugi is used for whoever is the current user for the put. In 2.7, the
delegation token is retrieved for whoever inits the timeline client and the ugi
is for whoever the current user is at the time of the init.
(Assuming 2.7+) That said, to change the owner of the entities to the DAG user
you would need delegation tokens for the timeline client shipped with the dag
submission and you will need to instantiate a new timeline client per DAG ugi
as well as a domain for that DAG created by the DAG ugi.
> DAG user sent to ATS via DAGSubmittedEvent is always the AM user
> -----------------------------------------------------------------
>
> Key: TEZ-2206
> URL: https://issues.apache.org/jira/browse/TEZ-2206
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Hitesh Shah
>
> There probably needs to be a way to support a way to attach a user id to a
> DAG especially in the case where a single AM is being used to run DAGs for
> different users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)