hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-880) user group information not populated for pre and post hook
Date Thu, 15 Oct 2009 06:10:31 GMT

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

Zheng Shao commented on HIVE-880:
---------------------------------

In the Hadoop world, ugi information is saved in conf.

I think Hive should call:

{code}
class UnixUserGroupInformation:
public static UnixUserGroupInformation login(Configuration conf, boolean save = true);
{code}

on session start.

User can modify "ugi" through "set" if they want.

And hooks will get ugi information from HiveConf.


If we want to keep the interface of hooks intact, we can get the ugi information from HiveConf
by using UnixUserGroupInformation.UGI_PROPERTY_NAME.


> user group information not populated for pre and post hook
> ----------------------------------------------------------
>
>                 Key: HIVE-880
>                 URL: https://issues.apache.org/jira/browse/HIVE-880
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.880.1.patch
>
>


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


Mime
View raw message