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

Ranger HDFS plugin not working

Ranger HDFS plugin not working

Contributor

Hi,

I just installed Ranger from open source and am able to log in to Ranger via the browser.

However, when I try to enable the HDFS plugin, I do not see that service get enabled in Ranger.

I  would think I would be able to see that service get added into the Ranger GUI once enabled.

 

[root@test02 ranger-hdfs-plugin]# /usr/local/ranger-hdfs-plugin/enable-hdfs-plugin.sh
Custom user and group is available, using custom user and group.
+ Sat Mar 6 18:37:54 CST 2021 : hadoop: lib folder=/usr/local/hadoop/lib conf folder=/usr/local/hadoop/conf
+ Sat Mar 6 18:37:54 CST 2021 : Saving /usr/local/hadoop/conf/ranger-hdfs-audit.xml to /usr/local/hadoop/conf/.ranger-hdfs-audit.xml.20210306-183754 ...
+ Sat Mar 6 18:37:54 CST 2021 : Saving /usr/local/hadoop/conf/ranger-hdfs-security.xml to /usr/local/hadoop/conf/.ranger-hdfs-security.xml.20210306-183754 ...
+ Sat Mar 6 18:37:54 CST 2021 : Saving /usr/local/hadoop/conf/ranger-policymgr-ssl.xml to /usr/local/hadoop/conf/.ranger-policymgr-ssl.xml.20210306-183754 ...
+ Sat Mar 6 18:37:54 CST 2021 : Saving current config file: /usr/local/hadoop/conf/hdfs-site.xml to /usr/local/hadoop/conf/.hdfs-site.xml.20210306-183754 ...
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
+ Sat Mar 6 18:37:54 CST 2021 : Saving current config file: /usr/local/hadoop/conf/ranger-hdfs-audit.xml to /usr/local/hadoop/conf/.ranger-hdfs-audit.xml.20210306-183754 ...
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
+ Sat Mar 6 18:37:55 CST 2021 : Saving current config file: /usr/local/hadoop/conf/ranger-hdfs-security.xml to /usr/local/hadoop/conf/.ranger-hdfs-security.xml.20210306-183754 ...
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
+ Sat Mar 6 18:37:55 CST 2021 : Saving current config file: /usr/local/hadoop/conf/ranger-policymgr-ssl.xml to /usr/local/hadoop/conf/.ranger-policymgr-ssl.xml.20210306-183754 ...
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
+ Sat Mar 6 18:37:55 CST 2021 : Saving lib file: /usr/local/hadoop/lib/ranger-hdfs-plugin-shim-0.5.4-SNAPSHOT.jar to /usr/local/hadoop/lib/.ranger-hdfs-plugin-shim-0.5.4-SNAPSHOT.jar.20210306183755 ...
+ Sat Mar 6 18:37:55 CST 2021 : Saving lib file: /usr/local/hadoop/lib/ranger-plugin-classloader-0.5.4-SNAPSHOT.jar to /usr/local/hadoop/lib/.ranger-plugin-classloader-0.5.4-SNAPSHOT.jar.20210306183755 ...
+ Sat Mar 6 18:37:55 CST 2021 : Saving current JCE file: /etc/ranger/test/cred.jceks to /etc/ranger/test/.cred.jceks.20210306183755 ...
+ Sat Mar 6 18:37:56 CST 2021 : Saving current JCE file: /etc/ranger/test/cred.jceks to /etc/ranger/test/.cred.jceks.20210306183756 ...
+ Sat Mar 6 18:37:57 CST 2021 : Saving current JCE file: /etc/ranger/test/cred.jceks to /etc/ranger/test/.cred.jceks.20210306183757 ...
Ranger Plugin for hadoop has been enabled. Please restart hadoop to ensure that changes are effective.
[root@test02 ranger-hdfs-plugin]#

 

Any help is much appreciated.

 

Thanks,