You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Anthony Hsu (JIRA)" <ji...@apache.org> on 2015/02/20 19:48:12 UTC
[jira] [Commented] (HIVE-9021) Hive should not allow any user to
create tables in other hive DB's that user doesn't own
[ https://issues.apache.org/jira/browse/HIVE-9021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329339#comment-14329339 ]
Anthony Hsu commented on HIVE-9021:
-----------------------------------
I don't think this feature is necessary. Hive has a [Storage-Based Authorization Model|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Authorization#LanguageManualAuthorization-1StorageBasedAuthorizationintheMetastoreServer] that uses HDFS permissions for authorization. If a user does not want other users to be able to create tables in his database, he should set the permissions for his database's directory on HDFS accordingly (such as to rwxr-xr-x).
> Hive should not allow any user to create tables in other hive DB's that user doesn't own
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-9021
> URL: https://issues.apache.org/jira/browse/HIVE-9021
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.13.1
> Reporter: Anant Nag
> Labels: patch
> Attachments: db.patch
>
>
> Hive allows users to create tables in other users db. This should not be allowed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)