hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11175) create function using jar does not work with sql std authorization
Date Thu, 01 Oct 2015 16:57:26 GMT

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

Thejas M Nair commented on HIVE-11175:
--------------------------------------

Sorry about the delay in reviewing the patch!
The changes look good. However, looks like the new test is failing because of difference in
paths of jar as seen in the q.out files.
Also looks like some of the old udf test cases also need to be updated. We should check for
presence of additional input entity and one less output entity. 
The test failure in TestHCatClient.testTableSchemaPropagation seems to be unrelated.


> 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