FAQ -创建udf报错没权限

问题描述/异常栈
Caused by: org.apache.hive.service.cli.HiveSQLException: Error while processing statement: Permission denied: user [admin.mammut] does not have [TEMPUDFADMIN] privilege on [global]at org.apache.hive.service.cli.operation.Operation.run(Operation.java:272) at org.apache.hive.service.cli.operation.Operation.tosQLException(Operation.java:356) at org.apache.hive.service.cli.operation.HiveCommandOperation.runInternal(HiveCommandOperation.java:124) at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:549) 8-1418:3312 at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(HiveSessionImpl.java:535)
FAQ -创建udf报错没权限 - 图1
发现版本
LTS 8.0
解决方案
1、ranger上给global=*添加权限
FAQ -创建udf报错没权限 - 图2
![]FAQ -创建udf报错没权限 - 图3
问题原因
待补充

作者:林帅