Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger HDFS test connection fails

Solved Go to solution

Ranger HDFS test connection fails

Expert Contributor

I have installed ranger earlier also and followed same steps, but my test connection is failing with HDFS repository

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Ranger HDFS test connection fails

@chennuri gouri shankar

Do you have kerberos enabled in cluster ? if so you need to use user principal and password created for the principal in HDFS repository username and password.

Also use same in HDFS Ranger configs. Please check link below -

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/hdfs_plugin_kerberos.ht...

3 REPLIES 3

Re: Ranger HDFS test connection fails

@chennuri gouri shankar Can you please attach screenshot and xa_portal error log

Highlighted

Re: Ranger HDFS test connection fails

@chennuri gouri shankar

Do you have kerberos enabled in cluster ? if so you need to use user principal and password created for the principal in HDFS repository username and password.

Also use same in HDFS Ranger configs. Please check link below -

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_security/content/hdfs_plugin_kerberos.ht...

Re: Ranger HDFS test connection fails

Expert Contributor

Thanks it help to resolve issue. I was missing with username principal