Hello, I cannot use RHive with Ranger. It is not a RHive specific problem, it is a UDF issue and it seems to come either from Ranger or from Hive itself. I can reproduce the bug with beeline:
Connecting to jdbc:hive2://XXX:10000 Enter username for jdbc:hive2://XXX:10000: julien Enter password for jdbc:hive2://XXX:10000: ******** > !connect jdbc:hive2://XXX:10000 > CREATE TEMPORARY FUNCTION R AS "com.nexr.rhive.hive.udf.RUDF"; Error: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [julien] does not have [CREATE] privilege on [/r] > USE DEFAULT; > CREATE TEMPORARY FUNCTION R AS "com.nexr.rhive.hive.udf.RUDF"; Error: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [julien] does not have [CREATE] privilege on [/r] User julien has all UDFs permissions: databases:* / UDFs:* / admin" Any help would be appreciated. Regards, Julien
