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

Thejas M Nair edited comment on HIVE-9578 at 2/9/15 11:43 PM:
--------------------------------------------------------------

On second thoughts, when people care about the additional safety check, they 
are likely to have additional checks in place, such as 
StorageBasedAuthorization (SBA). SBA for example would check if the user has 
permissions for the alter* call, and if the object does not exist, the 
permission would be denied. As a result, this change does not affect safety 
when users actually care about it.

I agree we can skip the checks for existence in alters.



was (Author: thejas):
On second thoughts, when people care about the additional safety check, they 
are likely to have additional checks in place, such as 
StorageBasedAuthorization (SBA). SBA for example would check if the user has 
permissions for the alter* call, and if the object does not exist, the 
permission would be denied. As a result, this change does not affect safety 
when users actually care about it.


> Add support for getDatabases and alterDatabase calls [hbase-metastore branch]
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-9578
>                 URL: https://issues.apache.org/jira/browse/HIVE-9578
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-9578.patch
>
>
> The initial patch only supporting getting a single database, add database, 
> and drop database.  Support needs to be added for alter database, getting all 
> the databases, and getting database names by pattern.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to