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 (JIRA)" <ji...@apache.org> on 2014/07/31 22:16:38 UTC

[jira] [Updated] (HIVE-7533) sql std auth - set authorization privileges for tables when created from hive cli

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

Thejas M Nair updated HIVE-7533:
--------------------------------

    Attachment: HIVE-7573.1.patch

> sql std auth - set authorization privileges for tables when created from hive cli
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-7533
>                 URL: https://issues.apache.org/jira/browse/HIVE-7533
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, SQLStandardAuthorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-7573.1.patch
>
>
> As SQL standard authorization mode is not available from hive-cli, the default permissions on table for the table owner are not being set, when the table is created from hive-cli.
> It should be possible set the sql standards based authorization as the authorizer for hive-cli, which would update the configuration appropriately. 
> hive-cli data access is actually controlled by hdfs, not the authorization policy. As a result, using sql std auth from hive-cli for authorization would lead to a false sense of security. To avoid this, hive-cli users will have to keep the authorization disabled on hive-cli  (in case of sql std auth). But this would affect only authorization checks, not configuration updates by the authorizer.



--
This message was sent by Atlassian JIRA
(v6.2#6252)