<?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 creation failing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167656#M49760</link>
    <description>&lt;P&gt;Thanks! That did it.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2016 04:45:11 GMT</pubDate>
    <dc:creator>lechang</dc:creator>
    <dc:date>2016-12-23T04:45:11Z</dc:date>
    <item>
      <title>Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167646#M49750</link>
      <description>&lt;P&gt;We are building our own plugin but we are getting this error when saving. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10635-screen-shot-2016-12-21-at-114133-am.png" style="width: 835px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20283i32D7ADB08BE7310B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10635-screen-shot-2016-12-21-at-114133-am.png" alt="10635-screen-shot-2016-12-21-at-114133-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:06:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167646#M49750</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2019-08-18T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167647#M49751</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15046/lechang.html" nodeid="15046"&gt;@Leslie Chang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you provide more information on the nature of the plugin?  Are you able to share the code or snippet of relevant code?  It looks like Ranger is trying to retrieve the &lt;STRONG&gt;resourceType&lt;/STRONG&gt; property value, but it isn't defined.&lt;/P&gt;&lt;P&gt;Have you seen this: &lt;A target="_blank" href="http://bryanbende.com/development/2016/04/25/building-a-plugin-for-apache-ranger"&gt;http://bryanbende.com/development/2016/04/25/building-a-plugin-for-apache-ranger&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 05:30:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167647#M49751</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-12-22T05:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167648#M49752</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695" target="_blank"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695" target="_blank"&gt;&lt;/A&gt;We have a resource hierarchy like this where database/tablespace/protocol are top level resources. But when only tablespace is selected, that error appears.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;database&lt;UL&gt;
&lt;LI&gt;schema&lt;UL&gt;
&lt;LI&gt;table&lt;/LI&gt;&lt;LI&gt;sequence&lt;/LI&gt;&lt;LI&gt;function&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;language&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;tablespace&lt;/LI&gt;&lt;LI&gt;protocol  &lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10637-screen-shot-2016-12-21-at-13349-pm.png" style="width: 507px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20282i00EEA0AE34D2DDE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10637-screen-shot-2016-12-21-at-13349-pm.png" alt="10637-screen-shot-2016-12-21-at-13349-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167648#M49752</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2019-08-18T11:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167649#M49753</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15046/lechang.html" nodeid="15046"&gt;@Leslie Chang&lt;/A&gt;&lt;P&gt;you need to check the service definition you created for your service&lt;/P&gt;&lt;P&gt;Here is the sample one check for HIVE. check it out &lt;A href="https://github.com/apache/incubator-ranger/blob/master/agents-common/src/test/resources/admin/service-defs/test-hive-servicedef.json" target="_blank"&gt;https://github.com/apache/incubator-ranger/blob/master/agents-common/src/test/resources/admin/service-defs/test-hive-servicedef.json&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 07:07:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167649#M49753</guid>
      <dc:creator>rmani</dc:creator>
      <dc:date>2016-12-22T07:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167650#M49754</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/218/rmani.html" nodeid="218"&gt;@Ramesh Mani&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I checked the service definition but nothing looks off:&lt;/P&gt;&lt;P&gt;
{  "itemId": 6,"name": "language","type": "string","level": 20,"parent": "database","mandatory": true,"lookupSupported": true,"recursiveSupported": false,"excludesSupported": true,"Matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher","matcherOptions": {"wildCard":true, "ignoreCase":true},"validationRegEx": "","validationMessage": "","uiHint": "","label": "Language","description": "desc"}&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 07:20:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167650#M49754</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-22T07:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167651#M49755</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15046/lechang.html" nodeid="15046"&gt;@Leslie Chang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This service definition appears be "language" under the database element based on the "parent' value.  What does the service definition for the tablespace component look like?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 08:08:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167651#M49755</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-12-22T08:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167652#M49756</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;{"itemId": 7,"name": "tablespace","type": "string","level": 10,"parent": "","mandatory": true,"lookupSupported": true,"recursiveSupported": false,"excludesSupported": true,"Matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher","matcherOptions": {"wildCard":true, "ignoreCase":true},"validationRegEx": "","validationMessage": "","uiHint": "","label": "Tablespace","description": "desc"}&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Dec 2016 09:04:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167652#M49756</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-22T09:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167653#M49757</link>
      <description>&lt;P&gt;Which version of Ranger do you use? This looks like the issue fixed in &lt;A href="https://issues.apache.org/jira/browse/RANGER-1175" target="_blank"&gt;https://issues.apache.org/jira/browse/RANGER-1175&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;@mehul.parikh&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 10:27:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167653#M49757</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2016-12-22T10:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167654#M49758</link>
      <description>&lt;P&gt;I'm using HDP 2.5 on Hortonworks sandbox. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 01:58:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167654#M49758</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-23T01:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167655#M49759</link>
      <description>&lt;P&gt;Fix in RANGER-1175 may not be present in the sandbox. Can you try the following workaround, to get the fix in the sandbox?&lt;/P&gt;&lt;P&gt;1. cd /usr/hdp/current/ranger-admin/ews&lt;/P&gt;&lt;P&gt;2. mv webapp/scripts/views/policies/RangerPolicyForm.js webapp/scripts/views/policies/RangerPolicyForm.js.saved&lt;/P&gt;&lt;P&gt;3. curl &lt;A href="https://raw.githubusercontent.com/apache/incubator-ranger/ranger-0.6/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js"&gt;https://raw.githubusercontent.com/apache/incubator-ranger/ranger-0.6/security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js&lt;/A&gt; &amp;gt; webapp/scripts/views/policies/RangerPolicyForm.js&lt;/P&gt;&lt;P&gt;After this, please clear your browser cache and try.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 04:11:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167655#M49759</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2016-12-23T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger policy creation failing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167656#M49760</link>
      <description>&lt;P&gt;Thanks! That did it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 04:45:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-policy-creation-failing/m-p/167656#M49760</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-23T04:45:11Z</dc:date>
    </item>
  </channel>
</rss>

