Hi Dale,
Ranger Admin log is in /var/log/ranger/xa_portal.log. Are there any exceptions
or ERROR messages in the xa_portal.log?
* Ensure that the policies are downloaded to the HDFS namenode.
* Check Audits->Plugin tag in ranger-admin GUI to see if there is a
record of policy download to the HDFS service.
* On the namenode machine, check if there is a policy-cache under
/etc/ranger/<hdfs-service-name>/policycache directory. There should be a file
containing all policies for HDFS service in JSON format.
* Check the namenode log for any exceptions or ERROR messages from
org.apache.ranger module.
This should give a starting point for debugging.
Thanks,
-Abhay
From: Dale Bradman <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Monday, May 22, 2017 at 2:41 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: HDFS policy not working
Hi,
I'm facing a few issues with Ranger since I upgraded the cluster from HDP 2.4.2
to HDP 2.5.3.
My HDFS policy is no longer connecting however no error message appears on the
Ranger Admin UI.
I also can't see anything useful in the log files xa_portal.log, acces_log.log
or catalina.out.
1) Shouldn't there be a ranger_admin.log file? It is not in
/var/log/ranger/admin
2) How can I debug why my HDFS policy is not working?
Thanks,
Dale