sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-23) CREATE TEMPORARY FUNCTION fails when Hive warehouse is on hdfs
Date Sat, 28 Sep 2013 01:01:58 GMT

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

Shreepadma Venugopalan commented on SENTRY-23:
----------------------------------------------

[~sravya]: Can you add a test case using the MiniDFS infrastructure we have? Can you also
post a review board for the record? Thanks!
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message