<?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 Admin policies not synced for all services in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169730#M132036</link>
    <description>&lt;P&gt;can you check if ranger policy url is properly defined in hdfs ranger plugin config, and was there anything changed when you started seeing this issue ?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 21:06:31 GMT</pubDate>
    <dc:creator>dsharma</dc:creator>
    <dc:date>2017-02-10T21:06:31Z</dc:date>
    <item>
      <title>Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169724#M132030</link>
      <description>&lt;P&gt;Hi, I have a problem with policy synchronization. HDP 2.5.0-1245, Ambari 2.4.1. When I add/edit policy, the policy changes in MySQL database "ranger", but not in Audit -&amp;gt; Plugins. Also the change does not affect on /etc/ranger/servicename/policycache/XXX.json file (last change was 10 days ago, same as Plugin tab shows). From xa_portal.log in DEBUG mode I see an error every 30 seconds:&lt;/P&gt;&lt;P&gt;"DEBUG org.springframework.security.web.access.ExceptionTranslationFilter (ExceptionTranslationFilter.java:165) - Access is denied (user is anonymous); redirecting to authentication entry point org springframework.security.access.AccessDeniedException: Access is denied"&lt;/P&gt;&lt;P&gt;That is the only difference in this log when I compare my working cluster with this one. &lt;/P&gt;&lt;P&gt;The connection to database is good, but what happens next I dont know. How do policies are propagated from MySQL to .json file? Which user is responsible for this? Any solution ideas? Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:40:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169724#M132030</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2017-02-10T18:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169725#M132031</link>
      <description>&lt;P&gt;ranger plugin should be enabled for corresponding service for downloading the policies, and service(eg. hdfs,hbase) keep on pulling the policies from ranger every 30 sec. so i think if you have enabled then plugin then there should be some issue while pulling the policies by service from the ranger.&lt;/P&gt;&lt;P&gt;can your please check the corresponding service logs for the issue, and even in ranger access audit logs keep on publishing the information about this call there also you check if response for policy download is 200/304. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:45:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169725#M132031</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2017-02-10T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169726#M132032</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/505/dsharma.html" nodeid="505"&gt;@Deepak Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for a quick answer. &lt;/P&gt;&lt;P&gt;In access_log when I edit a policy I got PUT and GET code 200, but except that every 30 seconds I got GET with code 302.&lt;/P&gt;&lt;P&gt;In correspoding service logs I got "failed to refresh policies. Will continue to use last known version of policies (61).&lt;/P&gt;&lt;P&gt;It was working before, but for 10 days policies are not synced.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:28:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169726#M132032</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2017-02-10T19:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169727#M132033</link>
      <description>&lt;P&gt;The strange thing is that in access_log Ranger tries to GET status from not defined URL:&lt;/P&gt;&lt;P&gt;"IP - - [DATE] "GET / HTTP/1.0" 302 -"&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:49:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169727#M132033</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2017-02-10T19:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169728#M132034</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3241/frank93.html" nodeid="3241"&gt;@Edgar Daeds&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you check below things -&lt;/P&gt;&lt;P&gt;1. is your test connection for repository work successfully ?&lt;/P&gt;&lt;P&gt;2. Do you see any alert in Ambari UI wrt "Ranger Admin Password check"?&lt;/P&gt;&lt;P&gt;3. If that is HDFS policy can you check namenode logs if you any error there ?&lt;/P&gt;&lt;P&gt;Please post more logs to analyze the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 20:21:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169728#M132034</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-02-10T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169729#M132035</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;1. Test connection works for HDFS and HBase, for Hive I have my own modified jars and it is not working for a long time (but policies were working)&lt;/P&gt;&lt;P&gt;2. In Ambari UI I dont see any alerts regarding to Ranger&lt;/P&gt;&lt;P&gt;3. In every service logs I see only one error which is known: "failed to refresh policies. Will continue to use last known version of policies (XX) [...] Connection Refused".&lt;/P&gt;&lt;P&gt;Could you please specify which logs I can post? It is on clients cluster and I dont have direct access, so I need to rewrite logs manually.&lt;/P&gt;&lt;P&gt;P. S. policies are not synced for every service which I am using (HDFS,HBase,Hive,Kafka,Knox)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 20:46:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169729#M132035</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2017-02-10T20:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169730#M132036</link>
      <description>&lt;P&gt;can you check if ranger policy url is properly defined in hdfs ranger plugin config, and was there anything changed when you started seeing this issue ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:06:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169730#M132036</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2017-02-10T21:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169731#M132037</link>
      <description>&lt;P&gt;If this is kerberos env, make sure there are no kerberos ticket renewal errors.&lt;/P&gt;&lt;P&gt;Also, are you using SSL for ranger? In that case, make sure plugins are configured to trust ranger admin certificate.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:45:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169731#M132037</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2017-02-10T21:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin policies not synced for all services</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169732#M132038</link>
      <description>&lt;P&gt;Sorry guys, that was the issue. Not only me have access to that cluster, and somebody changed ranger policy url in every plugin config. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:49:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-policies-not-synced-for-all-services/m-p/169732#M132038</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2017-02-10T21:49:47Z</dc:date>
    </item>
  </channel>
</rss>

