[
https://issues.apache.org/jira/browse/HIVE-12977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinoth Sathappan updated HIVE-12977:
------------------------------------
Description:
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.
was:
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, Tez fails to access resources even if the tokens are available in
memory.
> 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
>
>
> 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)