You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vinoth Sathappan (JIRA)" <ji...@apache.org> on 2016/02/01 20:42:39 UTC

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

Vinoth Sathappan created HIVE-12977:
---------------------------------------

             Summary: 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: Vikram Dixit K


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.



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