<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How long does it take for ranger policies to refresh? Is there a way to force policies to take effect? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104466#M46346</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/14046/dpintuition.html" nodeid="14046" target="_blank"&gt;@Kate Shaw&lt;/A&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I see there is option in each service plugin in Ambari to define time interval. Example for HDFS service is shown below &lt;/P&gt;&lt;P&gt;In Ambari UI-&amp;gt;HDFS-&amp;gt;Services-&amp;gt;Configs-&amp;gt;"Advance ranger-hdfs-security"    you can change the poll interval here[refresh time].&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9466-screen-shot-2016-11-16-at-121145-am.png" style="width: 2000px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23615i87B52BA4FF0F917B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9466-screen-shot-2016-11-16-at-121145-am.png" alt="9466-screen-shot-2016-11-16-at-121145-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Check few link which can help to understand better - &lt;A href="https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 12:03:47 GMT</pubDate>
    <dc:creator>sshimpi</dc:creator>
    <dc:date>2019-08-19T12:03:47Z</dc:date>
    <item>
      <title>How long does it take for ranger policies to refresh? Is there a way to force policies to take effect?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104464#M46344</link>
      <description>&lt;P&gt;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. &lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 02:33:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104464#M46344</guid>
      <dc:creator>dpintuition</dc:creator>
      <dc:date>2016-11-16T02:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How long does it take for ranger policies to refresh? Is there a way to force policies to take effect?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104465#M46345</link>
      <description>&lt;P&gt;Ranger plugins refresh policies from ranger admin every 30 seconds. You can monitor this in Ranger UI -&amp;gt; Audit -&amp;gt; plugins screen and notice when the changes have been downloaded.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 02:43:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104465#M46345</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2016-11-16T02:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: How long does it take for ranger policies to refresh? Is there a way to force policies to take effect?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104466#M46346</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14046/dpintuition.html" nodeid="14046" target="_blank"&gt;@Kate Shaw&lt;/A&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I see there is option in each service plugin in Ambari to define time interval. Example for HDFS service is shown below &lt;/P&gt;&lt;P&gt;In Ambari UI-&amp;gt;HDFS-&amp;gt;Services-&amp;gt;Configs-&amp;gt;"Advance ranger-hdfs-security"    you can change the poll interval here[refresh time].&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9466-screen-shot-2016-11-16-at-121145-am.png" style="width: 2000px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23615i87B52BA4FF0F917B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9466-screen-shot-2016-11-16-at-121145-am.png" alt="9466-screen-shot-2016-11-16-at-121145-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Check few link which can help to understand better - &lt;A href="https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/questions/13070/ranger-policy-is-not-applied.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:03:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-long-does-it-take-for-ranger-policies-to-refresh-Is/m-p/104466#M46346</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2019-08-19T12:03:47Z</dc:date>
    </item>
  </channel>
</rss>

