You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2016/03/11 06:03:40 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15190462#comment-15190462 ] 

Thejas M Nair commented on HIVE-12977:
--------------------------------------

+1

Can you also add description of the type of credentials that would be missing without this change ?

Doing 'submit patch' to kick off the tests.


> 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
>
>
> 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)