<?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: Ranger policy sync doesn't work in some cases in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152483#M114950</link>
    <description>&lt;P&gt;Thank You &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; for pointing me in right direction. While looking at policy json file, I noticed that it had a null in path for my new policy. It looks like somehow a null was being added to policy file due to some keystroke combination. Once I delete this policy, policy sync starts working correctly. &lt;/P&gt;&lt;P&gt;In policycache directory, hdfs_&amp;lt;policy&amp;gt;.json file had following line for my new policy.&lt;/P&gt;&lt;P&gt; "resources": {
        "path": {
          "values": [ null&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 01:18:35 GMT</pubDate>
    <dc:creator>shishir_saxena4</dc:creator>
    <dc:date>2016-02-23T01:18:35Z</dc:date>
    <item>
      <title>Ranger policy sync doesn't work in some cases</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152481#M114948</link>
      <description>&lt;P&gt;If I add a new policy in Ranger for HDFS, sometimes it doesn't sync. Other times it will sync properly. If I delete my new policy, sync starts working again. &lt;/P&gt;&lt;P&gt;I am checking timestamps on policies in policy sync directory.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 23:19:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152481#M114948</guid>
      <dc:creator>shishir_saxena4</dc:creator>
      <dc:date>2016-02-22T23:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy sync doesn't work in some cases</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152482#M114949</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2820/shishirsaxena3.html" nodeid="2820"&gt;@Shishir Saxena&lt;/A&gt; please post the policy xml and any logs you can provide.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 23:47:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152482#M114949</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-22T23:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy sync doesn't work in some cases</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152483#M114950</link>
      <description>&lt;P&gt;Thank You &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; for pointing me in right direction. While looking at policy json file, I noticed that it had a null in path for my new policy. It looks like somehow a null was being added to policy file due to some keystroke combination. Once I delete this policy, policy sync starts working correctly. &lt;/P&gt;&lt;P&gt;In policycache directory, hdfs_&amp;lt;policy&amp;gt;.json file had following line for my new policy.&lt;/P&gt;&lt;P&gt; "resources": {
        "path": {
          "values": [ null&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 01:18:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-policy-sync-doesn-t-work-in-some-cases/m-p/152483#M114950</guid>
      <dc:creator>shishir_saxena4</dc:creator>
      <dc:date>2016-02-23T01:18:35Z</dc:date>
    </item>
  </channel>
</rss>

