Support Questions
Find answers, ask questions, and share your expertise

hdfs groups not returning mapped groups using Kerberos/LDAP

Explorer

I have installed the HDP sandbox HDP-3.0.1.0 (3.0.1.0-187) using Docker and Kerberized the cluster.

 

I also spinned up an LDAP server and setup User- and Group-sync with Ranger.

KXaxAax

kdG1mb0

 

Finally I have also set HDFS advanced core-site configuration.

y8U5Vru

 

I can run an ldapsearch succesfully.

rgtStxw

 

 

 

 

 

 

However hdfs groups doesn't seem to work.

RykJSij

 

I really have no idea on where to look from here. Any help would be greatly appreciated.

 

 

11 REPLIES 11

Explorer

@stevenmatison 

Just had a hunch and restarted ambari-server using

 

ambari-server restart

 

This is not directed in the documentation! https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/ambari-authentication-ldap-ad/content/amb_ldap...

 

This makes the LDAP login work succesfully!

View solution in original post

Nice one!!  Always restart Ambari after any Ambari-server setup commands.

 

Very glad to see you got it!