<?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 fails with error &amp;quot;Error creating policy&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-fails-with-error-quot-Error-creating-policy-quot/m-p/226832#M70188</link>
    <description>&lt;P&gt;I am trying to create a new policy in Ranger. When you click on Add, 'Error creating policy' is shown.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/39929-captura.jpg"&gt;captura.jpg&lt;/A&gt;&lt;/P&gt;This is what /var/log/ranger/admin/xa_portal.log shows:&lt;BR /&gt;&lt;PRE&gt;2017-10-24 15:51:28,710 [http-bio-6080-exec-12] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:345) - Request failed. loginId=holger_gov, logMessage=User 'holger_gov' does not have delegated-admin privilege on given resourcesjavax.ws.rs.WebApplicationException  at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:337)&lt;/PRE&gt;&lt;P&gt;Connection test to Ranger Admin DB runs ok (jdbc:postgresql://localhost:5432/ranger).&lt;/P&gt;&lt;P&gt;This is a 2.6.1 sandbox based environment. What can be causing this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2017 22:54:11 GMT</pubDate>
    <dc:creator>fernando_lopez</dc:creator>
    <dc:date>2017-10-24T22:54:11Z</dc:date>
    <item>
      <title>Ranger fails with error "Error creating policy"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-fails-with-error-quot-Error-creating-policy-quot/m-p/226832#M70188</link>
      <description>&lt;P&gt;I am trying to create a new policy in Ranger. When you click on Add, 'Error creating policy' is shown.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/39929-captura.jpg"&gt;captura.jpg&lt;/A&gt;&lt;/P&gt;This is what /var/log/ranger/admin/xa_portal.log shows:&lt;BR /&gt;&lt;PRE&gt;2017-10-24 15:51:28,710 [http-bio-6080-exec-12] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:345) - Request failed. loginId=holger_gov, logMessage=User 'holger_gov' does not have delegated-admin privilege on given resourcesjavax.ws.rs.WebApplicationException  at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:337)&lt;/PRE&gt;&lt;P&gt;Connection test to Ranger Admin DB runs ok (jdbc:postgresql://localhost:5432/ranger).&lt;/P&gt;&lt;P&gt;This is a 2.6.1 sandbox based environment. What can be causing this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 22:54:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-fails-with-error-quot-Error-creating-policy-quot/m-p/226832#M70188</guid>
      <dc:creator>fernando_lopez</dc:creator>
      <dc:date>2017-10-24T22:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger fails with error "Error creating policy"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-fails-with-error-quot-Error-creating-policy-quot/m-p/226833#M70189</link>
      <description>&lt;P&gt;User holger_gov does not have privileges to create policy. User has to have ADMIN role in ranger or needs to be delegated admin for the specified resource. Can you check this? &lt;/P&gt;&lt;P&gt;See &lt;A href="https://community.hortonworks.com/content/kbentry/88202/apache-ranger-delegated-admin.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/88202/apache-ranger-delegated-admin.html&lt;/A&gt; for delegated admin feature.&lt;/P&gt;&lt;P&gt;Also, ranger version in HDP 2.6.1 should be ranger 0.7. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 23:03:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-fails-with-error-quot-Error-creating-policy-quot/m-p/226833#M70189</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2017-10-24T23:03:39Z</dc:date>
    </item>
  </channel>
</rss>

