hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Updated] (HIVE-8045) SQL standard auth with cli - Errors and configuration issues
Date Tue, 23 Sep 2014 20:43:34 GMT


Thejas M Nair updated HIVE-8045:
       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

This was committed 3 days back, but I forgot to mark it as resolved.
Thanks for the review Jason!

> SQL standard auth with cli - Errors and configuration issues
> ------------------------------------------------------------
>                 Key: HIVE-8045
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Jagruti Varia
>            Assignee: Thejas M Nair
>             Fix For: 0.14.0
>         Attachments: HIVE-8045.1.patch, HIVE-8045.2.patch, HIVE-8045.3.patch
> HIVE-7533 enabled sql std authorization to be set in hive cli (without enabling authorization
checks). This updates hive configuration so that create-table and create-views set permissions
appropriately for the owner of the table.
> HIVE-7209 added a metastore authorization provider that can be used to restricts calls
made to the authorization api, so that only HS2 can make those calls (when HS2 uses embedded
> Some issues were found with this.
> # Even if, authorization checks were happening
for non sql statements as add/detete/dfs/compile, which results in MetaStoreAuthzAPIAuthorizerEmbedOnly
throwing an error.
> # Create table from hive-cli ended up calling metastore server api call (getRoles) and
resulted in  MetaStoreAuthzAPIAuthorizerEmbedOnly throwing an error.
> # Some users prefer to enable authorization using hive-site.xml for hive-server2 (
param). If this file is shared by hive-cli and hive-server2,  SQL std authorizer throws an
error because is use in hive-cli is not allowed.

This message was sent by Atlassian JIRA

View raw message