Created 11-15-2016 06:33 PM
I have loaded a dataset into Hive and created policies in Ranger on top. I am demonstrating this to an audience. So I wish to change the policy and then use the Hive View in Ambari and Tableau to show how the different policies enable and restrict access. Right now it seems like I have to wait couple minutes for the policies to take effect. How do I force refresh? Change the refresh time? Or even know what it is so I can wait the apporpridate duration.
Created on 11-15-2016 06:44 PM - edited 08-19-2019 05:03 AM
It normally takes 30secs to refresh policies. You can check the "Plugin" option in ranger UI to check if the policy is getting sync or not.There is no option to force policies.
I see there is option in each service plugin in Ambari to define time interval. Example for HDFS service is shown below
In Ambari UI->HDFS->Services->Configs->"Advance ranger-hdfs-security" you can change the poll interval here[refresh time].
Check few link which can help to understand better - https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html
Created 11-15-2016 06:43 PM
Ranger plugins refresh policies from ranger admin every 30 seconds. You can monitor this in Ranger UI -> Audit -> plugins screen and notice when the changes have been downloaded.
Created on 11-15-2016 06:44 PM - edited 08-19-2019 05:03 AM
It normally takes 30secs to refresh policies. You can check the "Plugin" option in ranger UI to check if the policy is getting sync or not.There is no option to force policies.
I see there is option in each service plugin in Ambari to define time interval. Example for HDFS service is shown below
In Ambari UI->HDFS->Services->Configs->"Advance ranger-hdfs-security" you can change the poll interval here[refresh time].
Check few link which can help to understand better - https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html