Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

hdfs groups not returning mapped groups using Kerberos/LDAP

avatar
Contributor

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.

 

 

1 ACCEPTED SOLUTION

avatar
Contributor

@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

11 REPLIES 11

avatar
Contributor

@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!

avatar
Super Guru

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

 

Very glad to see you got it!