在安装ranger中的hive插件 出现以下错误,除了hive插件
在ranger添加hive插件的时候 出现过以下问题,找不到hivedev service
但是在hdfs yarn hbase插件都没出现过这个问题,各位大佬有啥方法不

2021-08-11T14:57:29,345 ERROR [Thread-7] util.PolicyRefresher: PolicyRefresher(serviceName=hivedev): failed to find service. Will clean up local cache of policies (-1)
org.apache.ranger.plugin.util.RangerServiceNotFoundException: hivedev
at org.apache.ranger.plugin.util.RangerServiceNotFoundException.throwExceptionIfServiceNotFound(RangerServiceNotFoundException.java:35) ~[?:?]
at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:153) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:264) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:202) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:171) ~[?:?]
2021-08-11T14:57:29,347 INFO [Thread-7] policyengine.RangerPolicyRepository: This policy engine contains 0 policy evaluators
2021-08-11T14:57:59,366 ERROR [Thread-7] client.RangerAdminRESTClient: Error getting policies; service not found. secureMode=false, user=root (auth:SIMPLE), response=404, serviceName=hivedev, lastKnownVersion=-1, lastActivationTimeInMillis=1628665049347
2021-08-11T14:57:59,368 ERROR [Thread-7] util.PolicyRefresher: PolicyRefresher(serviceName=hivedev): failed to find service. Will clean up local cache of policies (-1)
org.apache.ranger.plugin.util.RangerServiceNotFoundException: hivedev
at org.apache.ranger.plugin.util.RangerServiceNotFoundException.throwExceptionIfServiceNotFound(RangerServiceNotFoundException.java:35) ~[?:?]
at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:153) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:264) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:202) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:171) ~[?:?]
2021-08-11T14:57:59,370 INFO [Thread-7] policyengine.RangerPolicyRepository: This policy engine contains 0 policy evaluators
2021-08-11T14:58:29,386 ERROR [Thread-7] client.RangerAdminRESTClient: Error getting policies; service not found. secureMode=false, user=root (auth:SIMPLE), response=404, serviceName=hivedev, lastKnownVersion=-1, lastActivationTimeInMillis=1628665079370
2021-08-11T14:58:29,387 ERROR [Thread-7] util.PolicyRefresher: PolicyRefresher(serviceName=hivedev): failed to find service. Will clean up local cache of policies (-1)
org.apache.ranger.plugin.util.RangerServiceNotFoundException: hivedev
at org.apache.ranger.plugin.util.RangerServiceNotFoundException.throwExceptionIfServiceNotFound(RangerServiceNotFoundException.java:35) ~[?:?]
at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:153) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:264) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:202) ~[?:?]
at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:171) ~[?:?]
2021-08-11T14:58:29,389 INFO [Thread-7] policyengine.RangerPolicyRepository: This policy engine contains 0 policy evaluators
2021-08-11T14:58:59,404 ERROR [Thread-7] client.RangerAdminRESTClient: Error getting policies; service not found. secureMode=false, user=root (auth:SIMPLE), response=404, serviceName=hivedev, lastKnownVersion=-1, lastActivationTimeInMillis=1628665109389
---------------------------------------分割线----------------------------------
直接操作下一步即可,这个错误应该是系统不兼容。不影响新建权限管理等后续操作,此外,发现新建立权限之后,这个错误不再报了。
3208

被折叠的 条评论
为什么被折叠?



