You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2013/10/01 01:16:25 UTC

[jira] [Comment Edited] (SENTRY-23) CREATE TEMPORARY FUNCTION fails when Hive warehouse is on hdfs

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

Sravya Tirukkovalur edited comment on SENTRY-23 at 9/30/13 11:15 PM:
---------------------------------------------------------------------

Sentry-10 does the cleanup, which has the test case for this jira.


was (Author: sravya):
Sentry-10 does the cleanup, which has the next case for this jira.

> CREATE TEMPORARY FUNCTION fails when Hive warehouse is on hdfs
> --------------------------------------------------------------
>
>                 Key: SENTRY-23
>                 URL: https://issues.apache.org/jira/browse/SENTRY-23
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>         Attachments: SENTRY-23.patch
>
>
> Command :
> {noformat}
> CREATE TEMPORARY FUNCTION printf_test AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFPrintf'
> {noformat}
> Error in HS2 logs:
> {noformat}
> FilePermission server=server1->uri=file://${user.home}/.m2, RequestPermission Server=server1->URI=hdfs://localhost:56494/Users/sravya/.m2/repository/org/apache/hive/hive-exec/0.10.0-cdh4.4.0/hive-exec-0.10.0-cdh4.4.0.jar->action=select, result false 
> {noformat}
> There is a test case for this (TestPrivilegesAtFunctionScope#testFuncPrivileges1()) in sentry-hive end to end tests, but it did not surface this bug as the test is using local file system for Hive warehouse.



--
This message was sent by Atlassian JIRA
(v6.1#6144)