为什么hbase shell中的whoami命令无法获取组信息?

问题描述 投票:0回答:1

我有一个cdh hadoop cluster,它为authenticationauthourization使用活动目录。当我使用hbase shell时,客户端无法从hdfs获取组映射信息。据我了解,hbasehdfs获取组映射信息,因此我尝试了hdfs group命令,它在AD中返回正确的组信息。有人可以告诉我问题出在哪里吗?

enter image description here

active-directory hbase cloudera-cdh
1个回答
0
投票

在文件'/etc/hbase/conf.cloudera.hbase/core-site.xml'中添加ldap密码:

<property>
<name>hadoop.security.group.mapping.ldap.bind.password</name>
<value>insert_password_here</value>
</property>

但是我想知道为什么CDH无法正确配置它?

© www.soinside.com 2019 - 2024. All rights reserved.