<?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 Ranger API Synchronous in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-Synchronous/m-p/356224#M237230</link>
    <description>&lt;P&gt;I am using the importPoliciesFromFile API call but see it deletes and creates the policies. Will this cause any impact on authorization if someone hits the api at the same time or is this API synchronous?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By synchronous I mean, does it&amp;nbsp;stop all other code execution and user interaction until the call returns?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:48:43 GMT</pubDate>
    <dc:creator>drewski7</dc:creator>
    <dc:date>2026-04-21T07:48:43Z</dc:date>
    <item>
      <title>Ranger API Synchronous</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-Synchronous/m-p/356224#M237230</link>
      <description>&lt;P&gt;I am using the importPoliciesFromFile API call but see it deletes and creates the policies. Will this cause any impact on authorization if someone hits the api at the same time or is this API synchronous?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By synchronous I mean, does it&amp;nbsp;stop all other code execution and user interaction until the call returns?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:48:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-Synchronous/m-p/356224#M237230</guid>
      <dc:creator>drewski7</dc:creator>
      <dc:date>2026-04-21T07:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger API Synchronous</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-API-Synchronous/m-p/356256#M237240</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79092"&gt;@drewski7&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Ranger plugins that use Ranger as an authorization module will cache local policy and use the same for authorization purposes&lt;BR /&gt;Ranger plugins cache the tags and periodically poll the tag store for any changes. When a change is detected, the plugins update the cache. In addition, the plugins store the tag details in a local cache file – just as the policies are stored in a local cache file. When the component restarts, the plugins will use the tag data from the local cache file if the tag store is not reachable.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;At periodic intervals , a plugin polls the Ranger Admin to retrieve the updated version of policies. The policies are cached locally by the plugin and used for access control&lt;/LI&gt;&lt;LI&gt;The Policy evaluation and policy enforcement happens within the service process.&lt;OL&gt;&lt;LI&gt;The heart of this processing is the “Policy Engine”.&lt;/LI&gt;&lt;LI&gt;It uses a memory resident-cached set of policies.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Ranger takes 30secs to refresh policies check the "Plugin" option in the ranger UI&amp;nbsp; but you can change the refresh time&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&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;BR /&gt;&lt;BR /&gt;Geoffrey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 19:35:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-API-Synchronous/m-p/356256#M237240</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2022-10-26T19:35:27Z</dc:date>
    </item>
  </channel>
</rss>

