You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Olaf Flebbe (Jira)" <ji...@apache.org> on 2020/08/21 19:21:00 UTC

[jira] [Updated] (HIVE-11175) create function using jar does not work with sql std authorization

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

Olaf Flebbe updated HIVE-11175:
-------------------------------
    Status: Open  (was: Patch Available)

> create function using jar does not work with sql std authorization
> ------------------------------------------------------------------
>
>                 Key: HIVE-11175
>                 URL: https://issues.apache.org/jira/browse/HIVE-11175
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 1.2.0
>            Reporter: Olaf Flebbe
>            Assignee: Olaf Flebbe
>            Priority: Major
>         Attachments: HIVE-11175.1.patch
>
>
> {code:sql}create function xxx as 'xxx' using jar 'file://foo.jar' {code} 
> gives error code for need of accessing a local foo.jar  resource with ADMIN privileges. Same for HDFS (DFS_URI) .
> problem is that the semantic analysis enforces the ADMIN privilege for write but the jar is clearly input not output. 
> Patch und Testcase appendend.



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