You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2010/12/16 02:59:02 UTC

[jira] Commented: (HIVE-1696) Add delegation token support to metastore

    [ https://issues.apache.org/jira/browse/HIVE-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971936#action_12971936 ] 

Devaraj Das commented on HIVE-1696:
-----------------------------------

I did a walk-thru of the patch. Looks good mostly. One comment I have is that the server should check delegation-token issue/renewal are allowed for kerberos-authenticated users only. This is what is done in the cases of HDFS/MAPREDUCE delegation tokens.

> Add delegation token support to metastore
> -----------------------------------------
>
>                 Key: HIVE-1696
>                 URL: https://issues.apache.org/jira/browse/HIVE-1696
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore, Security, Server Infrastructure
>            Reporter: Todd Lipcon
>         Attachments: hive_1696.patch
>
>
> As discussed in HIVE-842, kerberos authentication is only sufficient for authentication of a hive user client to the metastore. There are other cases where thrift calls need to be authenticated when the caller is running in an environment without kerberos credentials. For example, an MR task running as part of a hive job may want to report statistics to the metastore, or a job may be running within the context of Oozie or Hive Server.
> This JIRA is to implement support of delegation tokens for the metastore. The concept of a delegation token is borrowed from the Hadoop security design - the quick summary is that a kerberos-authenticated client may retrieve a binary token from the server. This token can then be passed to other clients which can use it to achieve authentication as the original user in lieu of a kerberos ticket.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.