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

Vinoth Sathappan updated HIVE-12977:
------------------------------------
    Attachment: HIVE-12977.4.patch

> Pass credentials in the current UGI while creating Tez session
> --------------------------------------------------------------
>
>                 Key: HIVE-12977
>                 URL: https://issues.apache.org/jira/browse/HIVE-12977
>             Project: Hive
>          Issue Type: Bug
>          Components: Tez
>            Reporter: Vinoth Sathappan
>            Assignee: Vinoth Sathappan
>         Attachments: HIVE-12977.1.patch, HIVE-12977.1.patch, 
> HIVE-12977.2.patch, HIVE-12977.3.patch, HIVE-12977.4.patch
>
>
> The credentials present in the current UGI i.e. 
> UserGroupInformation.getCurrentUser().getCredentials() isn't passed to the 
> Tez session. It is instantiated with null credentials. 
> session = TezClient.create("HIVE-" + sessionId, tezConfig, true,
>         commonLocalResources, null);
> In this case, tokens added using hive execution hooks, aren't available to 
> Tez even if they are available in memory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to