[
https://issues.apache.org/jira/browse/RANGER-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh Mani reassigned RANGER-1631:
-----------------------------------
Assignee: Ramesh Mani
> create temp function failing with permission issues
> ---------------------------------------------------
>
> Key: RANGER-1631
> URL: https://issues.apache.org/jira/browse/RANGER-1631
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 1.0.0, master
> Reporter: Ramesh Mani
> Assignee: Ramesh Mani
> Fix For: 1.0.0, master
>
>
> create temp function failing with permission issues, even when the policy is
> maintained for database=*, table=*, column=*. Reason being Hive didn't send
> database name. In earlier version, this was working because resource match
> did check for the hierarchy relation for the resource, not in current version
> we do the check and this is causing the issue
> SOLUTION: When create function is done and when database is null we need to
> make the database="" so the check for hierarchy passes and policy get
> evaluated. This is a workaround to avoid regression and actual fix has to be
> done in HIVE , for which there is already a bug raised.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)