0

在 Hadoop Ranger 2.1 hdfs 插件和配置单元的香草版本上设置游侠工作正常,但我无法解决 hbase 插件的错误

启用游侠插件时遇到错误

September 15, 09: 04:06 dn01 hbase[504922]: 2021-09-15 09:04:06,200 ERROR [dn01:60000.activeMasterManager] of the coprocessor.Coprocessor Host: Coprocessor org.apache.ranger.authorization.hbase.rangerauthorizationprocessor threw java. lang. NoClassDefFoundError: org/apache/hadoop/hbase/coprocessor/regionprocessor

FATAL [dn01:60000.activeMasterManager] master.HMaster: The coprocessor org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor threw java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/coprocessor/RegionCoprocessor

在启用插件时的 hbase-site.xml 中,它添加

<property>
  <name>hbase.security.authorization</name>
  <value>true</value>
</property>

<property>
  <name>hbase.coprocessor.master.classes</name>
  <value>org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor</value>
</property>

<property>
  <name>hbase.coprocessor.region.classes</name>
  <value>org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor</value>
</property>

启用后,插件会将其库复制到安装 hbase 或创建符号链接的本地路径

您对如何解决此错误有任何想法吗?

游侠2.1

HBase 1.4.12

可能是版本冲突?

谢谢!

4

0 回答 0