Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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!