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 07:03:31 GMT

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

Zheng Shao commented on HIVE-880:

A better way would be:

when Hive session starts, we should call:
class UnixUserGroupInformation:
  public static UnixUserGroupInformation login(Configuration conf, boolean save=true);

to save the ugi to HiveConf.

Then users are free to change ugi using "set" command if they want.

Hooks will get ugi from HiveConf just as the main query.

If we want to keep the Hooks interface, we can get the ugi from hiveconf when we call the

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

View raw message