org.apache.ranger.plugin.util.RangerServiceNotFoundException: hivedev

在安装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

---------------------------------------分割线----------------------------------

直接操作下一步即可,这个错误应该是系统不兼容。不影响新建权限管理等后续操作,此外,发现新建立权限之后,这个错误不再报了。

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值