You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (Updated) (JIRA)" <ji...@apache.org> on 2012/04/19 03:36:41 UTC

[jira] [Updated] (HIVE-2963) metastore delegation token is not getting used by hive commandline

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

Thejas M Nair updated HIVE-2963:
--------------------------------

    Attachment: HIVE-2963.1.patch

HIVE-2963.1.patch - This is a trivial patch - it adds hive.metastore.token.signature to HiveConf.metaVars. I can't think of any non-trivial way to add an unit test for this.

                
> metastore delegation token is not getting used by hive commandline
> ------------------------------------------------------------------
>
>                 Key: HIVE-2963
>                 URL: https://issues.apache.org/jira/browse/HIVE-2963
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Thejas M Nair
>             Fix For: 0.9.0, 0.10
>
>         Attachments: HIVE-2963.1.patch
>
>
> When metastore delegation tokens are used to run hive (or hcat) commands, the delegation token does not end up getting used.
> This is because new Hive object is not created with value of hive.metastore.token.signature in its conf. This config parameter is missing in the list of HiveConf variables whose change results in metastore recreation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira