Found the solution of my problem here :
My namenodes are HA, which was the origin of the problem.
Now it works fine.
On Wed, Oct 12, 2016 at 10:23 AM, Lune Silver <lunescar.ran...@gmail.com>
> Hello !
> I enabled yesterday the plugin HDFS with Ranger 0.5 on HDP 126.96.36.199.
> In Ranger UI, in the hdfs repository definition (with all the parameters
> for the repository), when I click on "test connection", I have an error
> message saying that the test failed.
> And in the xa_portal.log, I can see the following error message :
> 2016-10-12 09:43:29,030 [timed-executor-pool-0] ERROR
> (HdfsResourceMgr.java:48) - <== HdfsResourceMgr.testConnection Error:
> org.apache.ranger.plugin.client.HadoopException: Unable to get listing of
> files for directory [/] from Hadoop environment [<MYCLUSTER>_hadoop].
> I'm wondering what could be the problem with this ?
> Best regards.