<?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 Can we access hive metadata using ranger Rest API ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-access-hive-metadata-using-ranger-Rest-API/m-p/213080#M63288</link>
    <description>&lt;P&gt;this question might sound stupid, But to validate whether i am creating correct policy in ranger or not, I guess this may be mandatory. &lt;/P&gt;&lt;P&gt;I have observed this in ranger 0.7, if we create a policy on a database which is not available in HDFS, policy gets created. Only check is on Group or User for which permission is granted. let me explain more using an example:&lt;/P&gt;&lt;P&gt;1. Database : random (NA in HDFS)&lt;/P&gt;&lt;P&gt;2. Table : random&lt;/P&gt;&lt;P&gt;3. Column : random&lt;/P&gt;&lt;P&gt;4. Group : public (valid linux group)&lt;/P&gt;&lt;P&gt;5. Permission : select&lt;/P&gt;&lt;P&gt;policy will get created using these inputs, although Database, table and column are not available.&lt;/P&gt;&lt;P&gt;So, In order to validate i would like to access hive metadata (Hive and ranger metadata available in MySQL). and check whether the policy is getting created on correct database or not. Please note that i am creating policies using rest API by feeding in an excel. this excel can be erroneous because it gets created manually.&lt;/P&gt;&lt;P&gt;Thank you in Advance,&lt;/P&gt;&lt;P&gt;Subash&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 18:25:50 GMT</pubDate>
    <dc:creator>subash_sharma</dc:creator>
    <dc:date>2017-06-20T18:25:50Z</dc:date>
    <item>
      <title>Can we access hive metadata using ranger Rest API ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-access-hive-metadata-using-ranger-Rest-API/m-p/213080#M63288</link>
      <description>&lt;P&gt;this question might sound stupid, But to validate whether i am creating correct policy in ranger or not, I guess this may be mandatory. &lt;/P&gt;&lt;P&gt;I have observed this in ranger 0.7, if we create a policy on a database which is not available in HDFS, policy gets created. Only check is on Group or User for which permission is granted. let me explain more using an example:&lt;/P&gt;&lt;P&gt;1. Database : random (NA in HDFS)&lt;/P&gt;&lt;P&gt;2. Table : random&lt;/P&gt;&lt;P&gt;3. Column : random&lt;/P&gt;&lt;P&gt;4. Group : public (valid linux group)&lt;/P&gt;&lt;P&gt;5. Permission : select&lt;/P&gt;&lt;P&gt;policy will get created using these inputs, although Database, table and column are not available.&lt;/P&gt;&lt;P&gt;So, In order to validate i would like to access hive metadata (Hive and ranger metadata available in MySQL). and check whether the policy is getting created on correct database or not. Please note that i am creating policies using rest API by feeding in an excel. this excel can be erroneous because it gets created manually.&lt;/P&gt;&lt;P&gt;Thank you in Advance,&lt;/P&gt;&lt;P&gt;Subash&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 18:25:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-access-hive-metadata-using-ranger-Rest-API/m-p/213080#M63288</guid>
      <dc:creator>subash_sharma</dc:creator>
      <dc:date>2017-06-20T18:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we access hive metadata using ranger Rest API ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-access-hive-metadata-using-ranger-Rest-API/m-p/213081#M63289</link>
      <description>&lt;P&gt;In many scenarios, users might want to create the ranger policies in advance before the actual resources are created. So policy creation cannot be blocked based on resources. Moreover, wildcards are supported in policies.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:50:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-access-hive-metadata-using-ranger-Rest-API/m-p/213081#M63289</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2017-06-20T20:50:02Z</dc:date>
    </item>
  </channel>
</rss>

