hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishen Das (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-24182) Ranger authorization issue with permanent UDFs
Date Sat, 19 Sep 2020 10:19:00 GMT

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

Kishen Das commented on HIVE-24182:
-----------------------------------

Pull request -> [https://github.com/apache/hive/pull/1510] 

> Ranger authorization issue with permanent UDFs
> ----------------------------------------------
>
>                 Key: HIVE-24182
>                 URL: https://issues.apache.org/jira/browse/HIVE-24182
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Kishen Das
>            Assignee: Kishen Das
>            Priority: Major
>
> We are creating the permanent function names as WINDOW_FUNC_PREFIX + DB.PERMANENT_FUNCTION_NAME
which was introduced by 
> https://issues.apache.org/jira/browse/HIVE-12719 .
> When we populate read entities for permanent functions, we add ReadEntity which has DB
in the format WINDOW_FUNC_PREFIX + DB. Since Ranger policies are only configured for a given
database whose name is just DB and not WINDOW_FUNC_PREFIX + DB, we should modify the DB name
to remove the prefix WINDOW_FUNC_PREFIX, when we are creating the read entity. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message