Created 09-28-2015 09:51 PM
Created 09-30-2015 05:03 PM
The problem found at this location was that they did not have correct "ranger admin" password in the RANGER CONFIG tab in Ambari. So, when the HDFS was restarted, it tries to create a new ranger repository and it fails due to Incorrect "ranger admin" password. Once the "ranger admin" password is updated correctly, the HDFS namenode started with Ranger authorizer and was able to audit all activities via Ranger Console.
Created 09-28-2015 09:52 PM
2015-09-28 16:28:28,937 FATAL conf.Configuration (Configuration.java:loadResource(2638)) - error parsing conf file:/etc/hadoop/2.3.0.0-2557/0/xasecure-audit.xml
java.io.FileNotFoundException: /etc/hadoop/2.3.0.0-2557/0/xasecure-audit.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
Created 09-29-2015 01:16 AM
Is this an upgraded cluster? From which version? Was Ranger installed before the upgrade?
xasecure-audit.xml indicates an older version of Ranger. I just check a new install of Ranger on HDP 2.3 and those files are ranger-hdfs-*.xml.
Maybe there's an old configuration file in the /etc/hadoop/conf directory. Can you list all the files in the conf directory?
Created 09-29-2015 03:02 AM
Need a bit more information.
As David said, the xasecure-audit entails older versions of Ranger.
Created 09-29-2015 05:27 AM
1] How did you enable ranger plugin for HDFS? Can you share the full error message from namenode log?
2] Make sure all symlinks are pointed correctly and verify current versions set via hdp-select.
Also please provide information requested above by David and Adis.
Created 09-30-2015 05:03 PM
The problem found at this location was that they did not have correct "ranger admin" password in the RANGER CONFIG tab in Ambari. So, when the HDFS was restarted, it tries to create a new ranger repository and it fails due to Incorrect "ranger admin" password. Once the "ranger admin" password is updated correctly, the HDFS namenode started with Ranger authorizer and was able to audit all activities via Ranger Console.