<?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 PIG is not restricting authorization of HCatalog database and tables in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136669#M39695</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We are verifying our product usecases over Ranger enabled HDP enviroment .&lt;/P&gt;&lt;P&gt;Our product launched from User A  (LDAP user) . User A dont have access on any DB and Tables .&lt;/P&gt;&lt;P&gt;We have another User B (LDAP) . User B have access on &lt;STRONG&gt;marketingDb.saletable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When we logged in our product and use &lt;STRONG&gt;marketingDb.saletable &lt;/STRONG&gt;and submit job so Job is getting success and Jobtracker is showing User A as user . &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question &lt;/STRONG&gt;:- If job is launching from User A and User A dont have access on any HCatalog table so how job got successfully completed ?&lt;/P&gt;&lt;P&gt;To further debug this issue , we launched PIG job while User A keytab was in session so PIG job also successfully completed.&lt;/P&gt;&lt;P&gt;Could you please answer of these questions ... Is this happening due to any wrong configuration ..&lt;/P&gt;&lt;P&gt;Please guide us&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2016 19:27:38 GMT</pubDate>
    <dc:creator>piyush_jhawar</dc:creator>
    <dc:date>2016-09-05T19:27:38Z</dc:date>
    <item>
      <title>PIG is not restricting authorization of HCatalog database and tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136669#M39695</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We are verifying our product usecases over Ranger enabled HDP enviroment .&lt;/P&gt;&lt;P&gt;Our product launched from User A  (LDAP user) . User A dont have access on any DB and Tables .&lt;/P&gt;&lt;P&gt;We have another User B (LDAP) . User B have access on &lt;STRONG&gt;marketingDb.saletable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When we logged in our product and use &lt;STRONG&gt;marketingDb.saletable &lt;/STRONG&gt;and submit job so Job is getting success and Jobtracker is showing User A as user . &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question &lt;/STRONG&gt;:- If job is launching from User A and User A dont have access on any HCatalog table so how job got successfully completed ?&lt;/P&gt;&lt;P&gt;To further debug this issue , we launched PIG job while User A keytab was in session so PIG job also successfully completed.&lt;/P&gt;&lt;P&gt;Could you please answer of these questions ... Is this happening due to any wrong configuration ..&lt;/P&gt;&lt;P&gt;Please guide us&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 19:27:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136669#M39695</guid>
      <dc:creator>piyush_jhawar</dc:creator>
      <dc:date>2016-09-05T19:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: PIG is not restricting authorization of HCatalog database and tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136670#M39696</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12902/piyushjhawar.html" nodeid="12902"&gt;@Piyush Jhawar&lt;/A&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12902/piyushjhawar.html" nodeid="12902"&gt;&lt;/A&gt;The Ranger Hive plugin protects Hive data when it is accessed via HiveServer2. When you access these tables using HCatalog in Pig you are not going through HiveServer2, but instead Pig is using the files directly from HDFS (HCatalog is just used to map the table metadata to the HDFS files in this case).&lt;/P&gt;&lt;P&gt;In order to protect this data, you should also define a Ranger HDFS policy to protect the underlying HDFS directory that is used to store the &lt;STRONG&gt;marketingDb.saletable &lt;/STRONG&gt;data.&lt;/P&gt;&lt;P&gt;To clarify:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Ranger Hive Plugin&lt;/STRONG&gt; - Used to protect Hive data when accessed via HiveServer2 (e.g, a user connecting to Hive via JDBC)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Ranger HDFS Plugin &lt;/STRONG&gt;- Used to protect HDFS files and directories (suitable if users need to access the data outside of HiveServer2 -  Pig, Spark etc)&lt;/LI&gt;&lt;/UL&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12902/piyushjhawar.html" nodeid="12902"&gt;&lt;/A&gt;</description>
      <pubDate>Mon, 05 Sep 2016 23:53:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136670#M39696</guid>
      <dc:creator>ldaluz</dc:creator>
      <dc:date>2016-09-05T23:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: PIG is not restricting authorization of HCatalog database and tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136671#M39697</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/94/ldaluz.html" nodeid="94"&gt;@Laurence Da Luz&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Thank you very much for detailed answer .My doubt have been cleared now&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 14:37:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136671#M39697</guid>
      <dc:creator>piyush_jhawar</dc:creator>
      <dc:date>2016-09-06T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: PIG is not restricting authorization of HCatalog database and tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136672#M39698</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12902/piyushjhawar.html" nodeid="12902"&gt;@Piyush Jhawar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If &lt;A rel="user" href="https://community.cloudera.com/users/94/ldaluz.html" nodeid="94"&gt;@Laurence Da Luz&lt;/A&gt; answered your question, please accept the answer to help others in the community.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:30:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136672#M39698</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-09-06T23:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: PIG is not restricting authorization of HCatalog database and tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136673#M39699</link>
      <description>&lt;P&gt;Yes i should do it..:)&lt;/P&gt;&lt;P&gt;Done it now..Thanks..&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:43:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PIG-is-not-restricting-authorization-of-HCatalog-database/m-p/136673#M39699</guid>
      <dc:creator>piyush_jhawar</dc:creator>
      <dc:date>2016-09-06T23:43:49Z</dc:date>
    </item>
  </channel>
</rss>

