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

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

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

View solution in original post

3 REPLIES 3

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

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

Expert Contributor

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

; ;