Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Command :
CREATE TEMPORARY FUNCTION printf_test AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFPrintf'
Error in HS2 logs:
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
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
SENTRY-10 Change the inheritance model of Abstract FileSystem classes to composition along with a Factory class, which allows us to use different FS implementations.
- Resolved
- links to