<?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 HIVE policies not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169104#M49910</link>
    <description>&lt;P&gt;I enabled ranger hive plugin but policies are not working and getting sync&lt;/P&gt;&lt;P&gt;Below is the error logs -&lt;/P&gt;&lt;PRE&gt;ERROR util.PolicyRefresher (PolicyRefresher.java:loadPolicyfromPolicyAdmin(228)) - PolicyRefresher(serviceName=datametica): failed to refresh policies. Will continue to use last known version of policies (13)
java.lang.IllegalArgumentException: Illegal character in scheme name at index 0:  &lt;A href="http://dm1.example.com:6080/service/plugins/policies/download/datametica" target="_blank"&gt;http://dm1.example.com:6080/service/plugins/policies/download/datametica&lt;/A&gt;
	at java.net.URI.create(URI.java:859)
	at com.sun.jersey.api.client.Client.resource(Client.java:433)
	at org.apache.ranger.plugin.util.RangerRESTClient.getResource(RangerRESTClient.java:157)
	at org.apache.ranger.admin.client.RangerAdminRESTClient.createWebResource(RangerAdminRESTClient.java:162)
	at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:70)
	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:205)
	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:175)
	at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:154)
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:  &lt;A href="http://dm1.example.com:6080/service/plugins/policies/download/datametica" target="_blank"&gt;http://dm1.example.com:6080/service/plugins/policies/download/datametica&lt;/A&gt;
	at java.net.URI$Parser.fail(URI.java:2829)
	at java.net.URI$Parser.checkChars(URI.java:3002)
	at java.net.URI$Parser.checkChar(URI.java:3012)
	at java.net.URI$Parser.parse(URI.java:3028)
	at java.net.URI.&amp;lt;init&amp;gt;(URI.java:595)
	at java.net.URI.create(URI.java:857&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Dec 2016 02:43:48 GMT</pubDate>
    <dc:creator>chennuri_gouris</dc:creator>
    <dc:date>2016-12-23T02:43:48Z</dc:date>
    <item>
      <title>HIVE policies not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169104#M49910</link>
      <description>&lt;P&gt;I enabled ranger hive plugin but policies are not working and getting sync&lt;/P&gt;&lt;P&gt;Below is the error logs -&lt;/P&gt;&lt;PRE&gt;ERROR util.PolicyRefresher (PolicyRefresher.java:loadPolicyfromPolicyAdmin(228)) - PolicyRefresher(serviceName=datametica): failed to refresh policies. Will continue to use last known version of policies (13)
java.lang.IllegalArgumentException: Illegal character in scheme name at index 0:  &lt;A href="http://dm1.example.com:6080/service/plugins/policies/download/datametica" target="_blank"&gt;http://dm1.example.com:6080/service/plugins/policies/download/datametica&lt;/A&gt;
	at java.net.URI.create(URI.java:859)
	at com.sun.jersey.api.client.Client.resource(Client.java:433)
	at org.apache.ranger.plugin.util.RangerRESTClient.getResource(RangerRESTClient.java:157)
	at org.apache.ranger.admin.client.RangerAdminRESTClient.createWebResource(RangerAdminRESTClient.java:162)
	at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:70)
	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:205)
	at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:175)
	at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:154)
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:  &lt;A href="http://dm1.example.com:6080/service/plugins/policies/download/datametica" target="_blank"&gt;http://dm1.example.com:6080/service/plugins/policies/download/datametica&lt;/A&gt;
	at java.net.URI$Parser.fail(URI.java:2829)
	at java.net.URI$Parser.checkChars(URI.java:3002)
	at java.net.URI$Parser.checkChar(URI.java:3012)
	at java.net.URI$Parser.parse(URI.java:3028)
	at java.net.URI.&amp;lt;init&amp;gt;(URI.java:595)
	at java.net.URI.create(URI.java:857&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Dec 2016 02:43:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169104#M49910</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-23T02:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE policies not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169105#M49911</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;&lt;P&gt;Can you check External URL in Ambari Ranger Configs?&lt;/P&gt;&lt;P&gt;This should be pointing to proper url on which ranger is pointing.&lt;/P&gt;&lt;P&gt;for eg. &lt;A href="http://&amp;lt;ranger_host&amp;gt;:6080" target="_blank"&gt;http://&amp;lt;ranger_host&amp;gt;:6080&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 02:47:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169105#M49911</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-12-23T02:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE policies not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169106#M49912</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt; looks like you have a space in front of your ranger admin url. check it out and remove it if its there . " http://dm1.example.com:6080/service/plugins/policies/download/datametica"&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 02:50:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169106#M49912</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-12-23T02:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE policies not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169107#M49913</link>
      <description>&lt;P&gt;There is no space i checked that&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 12:43:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169107#M49913</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-23T12:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE policies not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169108#M49914</link>
      <description>&lt;P&gt;Somehow the url was modified. It worked now. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 12:43:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-policies-not-working/m-p/169108#M49914</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-23T12:43:45Z</dc:date>
    </item>
  </channel>
</rss>

