[jira] [Updated] (HIVE-6919) hive sql std auth select query fails on partitioned tables

2014-05-15 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan updated HIVE-6919:
---

Fix Version/s: 0.13.1

> hive sql std auth select query fails on partitioned tables
> --
>
> Key: HIVE-6919
> URL: https://issues.apache.org/jira/browse/HIVE-6919
> Project: Hive
>  Issue Type: Bug
>  Components: Authorization
>Affects Versions: 0.13.0
>Reporter: Thejas M Nair
>Assignee: Thejas M Nair
>Priority: Critical
> Fix For: 0.14.0, 0.13.1
>
> Attachments: HIVE-6919.1.patch
>
>
> {code}
> analyze table studentparttab30k partition (ds) compute statistics;
> Error: Error while compiling statement: FAILED: HiveAccessControlException 
> Permission denied. Principal [name=hadoopqa, type=USER] does not have 
> following privileges on Object [type=PARTITION, name=null] : [SELECT] 
> (state=42000,code=4)
> {code}
> Sql std auth is supposed to ignore partition level objects for privilege 
> checks, but that is not working as intended.



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


[jira] [Updated] (HIVE-6919) hive sql std auth select query fails on partitioned tables

2014-04-15 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-6919:


Attachment: HIVE-6919.1.patch

Attaching trivial fix.


> hive sql std auth select query fails on partitioned tables
> --
>
> Key: HIVE-6919
> URL: https://issues.apache.org/jira/browse/HIVE-6919
> Project: Hive
>  Issue Type: Bug
>  Components: Authorization
>Affects Versions: 0.13.0
>Reporter: Thejas M Nair
>Assignee: Thejas M Nair
>Priority: Critical
> Attachments: HIVE-6919.1.patch
>
>
> {code}
> analyze table studentparttab30k partition (ds) compute statistics;
> Error: Error while compiling statement: FAILED: HiveAccessControlException 
> Permission denied. Principal [name=hadoopqa, type=USER] does not have 
> following privileges on Object [type=PARTITION, name=null] : [SELECT] 
> (state=42000,code=4)
> {code}
> Sql std auth is supposed to ignore partition level objects for privilege 
> checks, but that is not working as intended.



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