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

How can I install Ranger policymanger on one node and ranger-hdfs-plugin on another node?

Highlighted

How can I install Ranger policymanger on one node and ranger-hdfs-plugin on another node?

Explorer

I am doing manual installation and not using Ambari.

I installed Ranger policymanager, usersync and solr audit services on node in my cluster, let's say node-1. My namenode is running on another node, let's say node-2. I ran script "/usr/hdp/2.6.4.0-91/ranger-hdfs-plugin/enable-hdfs-plugin.sh" on node-2.

Then logged in Ranger ui and created HDFS service in HDFS-plugin as in attachment pic1.jpg . I am getting successful connection with test connection pic2.png .

But I am not able to see anything in audit portal for plugins pic3.jpg . Ideally, I should be able to see an audit log there with http response 200.

Can anyone help to point out what am I doing wrong here?

2 REPLIES 2
Highlighted

Re: How can I install Ranger policymanger on one node and ranger-hdfs-plugin on another node?

@GN_Exp

Your test show Ranger Admin UI is able to communicate with the NN. But the plugins are not properly downloading the policies. I suggest you double check and follow steps listed here for hdfs plugin:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-installation/content/instal...

This steps show how to install and enable the hdfs plugin. You are required to yum install the plugin and edit install.properties with the required configuration. Then restart NN.

HTH

Highlighted

Re: How can I install Ranger policymanger on one node and ranger-hdfs-plugin on another node?

@GN_Exp If the above answer helped addressed your question, please take a moment to login and click the "accept" link on the answer.