<?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: Hive Ranger policy is not applied in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150383#M44546</link>
    <description>&lt;P&gt;I have attached screenshot for hive audit. In this only "USE' access type audits are displayed for servicetype=Hive&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7147i722FDA0B2734459D/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ranger-audit-1.png" title="ranger-audit-1.png" /&gt;</description>
    <pubDate>Wed, 26 Oct 2016 17:11:21 GMT</pubDate>
    <dc:creator>kamlepooja_raje</dc:creator>
    <dc:date>2016-10-26T17:11:21Z</dc:date>
    <item>
      <title>Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150380#M44543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to apply Ranger policies for Hive. I have created a policy but it seems that the policy is not applied. The audit logs that are shown in Ranger-&amp;gt; Audit are also confusing. I am trying to execute queries from Hive CLI. &lt;/P&gt;&lt;P&gt;I have a database called 'employee'. I have created a table empdetails having columns empno, empname and salary.&lt;/P&gt;&lt;P&gt;When I query 'select empno from empdetails' , it still shows me all the records as the policy states only 'empname' must be accessible by user 'mohang'.&lt;/P&gt;&lt;P&gt;It would be helpful if some one can provide some solution and suggestions. Attached are the screenshots.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7117i57DBCA5793C25637/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ranger-audit.png" title="ranger-audit.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7119iBF41DCCC9A72B662/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="hdfs-ranger-policy-for-hive-warehouse.png" title="hdfs-ranger-policy-for-hive-warehouse.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7121iFB47593121EEEE56/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="hive-policy.png" title="hive-policy.png" /&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:42:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150380#M44543</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-26T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150381#M44544</link>
      <description>&lt;P&gt;i guess you have some other policy too that is allowing this operation in hive, can you filter the audits with servicetype = hive , because the image you attached is having all the entries for hdfs audit&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:46:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150381#M44544</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-10-26T16:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150382#M44545</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3600/kamlepoojarajendra2014.html" nodeid="3600"&gt;@Pooja Kamle&lt;/A&gt; Ranger policies are not applied to Hive CLI which is old technology and may be phased out in the future. You should be using Beeline/JDBC/ODBC to connect to Hiveserver2.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:47:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150382#M44545</guid>
      <dc:creator>tstebbens</dc:creator>
      <dc:date>2016-10-26T16:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150383#M44546</link>
      <description>&lt;P&gt;I have attached screenshot for hive audit. In this only "USE' access type audits are displayed for servicetype=Hive&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7147i722FDA0B2734459D/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ranger-audit-1.png" title="ranger-audit-1.png" /&gt;</description>
      <pubDate>Wed, 26 Oct 2016 17:11:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150383#M44546</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-26T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150384#M44547</link>
      <description>&lt;P&gt;there is no entry related to operation you performed , can you please check the correct time instance and as per Terry suggestion , are you using hive cli or hiveserver beeline ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 17:53:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150384#M44547</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-10-26T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150385#M44548</link>
      <description>&lt;P&gt;Ranger plugin works with Hive Server2. Can you use beeline?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 20:21:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150385#M44548</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2016-10-26T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150386#M44549</link>
      <description>&lt;P&gt;Right now I am trying with Hive CLI as I am familiar with it. So, is it that the Ranger hive plugin won't work with Hive CLI at all?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 11:59:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150386#M44549</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-27T11:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150387#M44550</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/47/vperiasamy.html" nodeid="47"&gt;@vperiasamy&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, I understand from &lt;A rel="user" href="https://community.cloudera.com/users/505/dsharma.html" nodeid="505"&gt;@Deepak Sharma&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/50/tstebbens.html" nodeid="50"&gt;@Terry Stebbens&lt;/A&gt; that Hive Ranger plugin works with Beeline and not Hive CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 12:00:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150387#M44550</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-27T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Ranger policy is not applied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150388#M44551</link>
      <description>&lt;P&gt;yes it will not work at all with hive cli , better you use beeline, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:03:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Ranger-policy-is-not-applied/m-p/150388#M44551</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-10-27T13:03:45Z</dc:date>
    </item>
  </channel>
</rss>

