You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vinoth Sathappan (JIRA)" <ji...@apache.org> on 2016/04/12 17:57:25 UTC

[jira] [Updated] (HIVE-12977) Pass credentials in the current UGI while creating Tez session

     [ 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.3.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
>
>
> 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)