hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olaf Flebbe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11175) create function using jar does not work with sql std authorization
Date Fri, 02 Oct 2015 14:51:26 GMT

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

Olaf Flebbe commented on HIVE-11175:
------------------------------------

Oops, the path names are relative to my infrastructure ;-)

It seems to me that I would need to enhance ./beeline/src/java/org/apache/hive/beeline/util/QFileClient.java

and introduce a !!{localmavencache}!! replacement  ?

Or am I missing something?


> 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
>             Fix For: 2.0.0
>
>         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
(v6.3.4#6332)

Mime
View raw message