<?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 Create Policy API returns 404 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170194#M50012</link>
    <description>&lt;P&gt;No new logs seem to show up when I send the request.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 02:40:37 GMT</pubDate>
    <dc:creator>lechang</dc:creator>
    <dc:date>2016-12-29T02:40:37Z</dc:date>
    <item>
      <title>Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170190#M50008</link>
      <description>&lt;P&gt;I'm having trouble using the endpoint `&lt;STRONG&gt;service/public/v2/api/policy` &lt;/STRONG&gt;to create policies (Returns 404) but I can get policy by id. Is there some special permission for that endpoint?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 04:04:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170190#M50008</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-24T04:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170191#M50009</link>
      <description>&lt;P&gt;Can you take look at xa_portal.log to troubleshoot further? If you can send details of the REST API call made and the response, it can help find the root cause.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2016 04:08:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170191#M50009</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2016-12-24T04:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170192#M50010</link>
      <description>&lt;P&gt;No new logs from the request seem to appear in xa_portal.log.

I'm doing: curl -iv -u admin:admin -H "Content-Type: application/json" -X POST &lt;A href="http://localhost:6080/service/public/v2/api/policy"&gt;http://localhost:6080/service/public/v2/api/policy&lt;/A&gt; -d @test.json
&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 01:59:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170192#M50010</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-29T01:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170193#M50011</link>
      <description>&lt;P&gt;any clues from catalina.out and access_log.*.log files?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 02:33:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170193#M50011</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2016-12-29T02:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170194#M50012</link>
      <description>&lt;P&gt;No new logs seem to show up when I send the request.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 02:40:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170194#M50012</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-29T02:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170195#M50013</link>
      <description>&lt;P&gt;I was able to create a policy successfully with the command-line in your post. There should be some log in one of these files: xa_portal.log, catalina.out, most recent access_log*.log. Can you check again?&lt;/P&gt;&lt;P&gt;This error could be due to incorrect JSON as well - if this is the cause, error details should be in catalina.out.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 02:50:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170195#M50013</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2016-12-30T02:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170196#M50014</link>
      <description>&lt;P&gt;Can you post the contents of test.json?  A malformed json file will result in a 404 error, as you described.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 23:54:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170196#M50014</guid>
      <dc:creator>josephmontenaro</dc:creator>
      <dc:date>2016-12-30T23:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Create Policy API returns 404</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170197#M50015</link>
      <description>&lt;P&gt;I was able to get it working after removing an extra bracket in my json. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 01:56:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Create-Policy-API-returns-404/m-p/170197#M50015</guid>
      <dc:creator>lechang</dc:creator>
      <dc:date>2016-12-31T01:56:26Z</dc:date>
    </item>
  </channel>
</rss>

