<?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: Spark and HIVE in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122157#M55362</link>
    <description>&lt;P&gt;How do I create Hive tables in Spark?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 22:40:30 GMT</pubDate>
    <dc:creator>marcia_hon_29</dc:creator>
    <dc:date>2017-02-24T22:40:30Z</dc:date>
    <item>
      <title>Spark and HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122153#M55358</link>
      <description>&lt;P&gt;Do Spark and HIVE have the abilities to set permissions?&lt;/P&gt;&lt;P&gt;For example, only people of a certain role can view a certain table. Also, only people of a certain role can view this column.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:07:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122153#M55358</guid>
      <dc:creator>marcia_hon_29</dc:creator>
      <dc:date>2017-02-24T00:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Spark and HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122154#M55359</link>
      <description>&lt;P&gt;For Hive one would use Apache Ranger for this. You can allow or deny access to tables, columns and even rows.&lt;/P&gt;&lt;P&gt;Now, what to do with Spark:&lt;/P&gt;&lt;P&gt;For the normal HiveContext Spark would read the Schema from Metastore and then read the the file directly from HDFS. So no Hive Ranger plugin would kick in.&lt;/P&gt;&lt;P&gt;However, with LLAP it will be possible, see e.g. &lt;A href="https://hortonworks.com/blog/sparksql-ranger-llap-via-spark-thrift-server-bi-scenarios-provide-row-column-level-security-masking/"&gt;https://hortonworks.com/blog/sparksql-ranger-llap-via-spark-thrift-server-bi-scenarios-provide-row-column-level-security-masking/&lt;/A&gt; If you additionally disable HDFS access for "others" for Hive tables, data is access controlled&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 00:57:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122154#M55359</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2017-02-24T00:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Spark and HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122155#M55360</link>
      <description>&lt;P&gt;If I create tables in SparkSQL, how to I enable fine-grained permissions for these tables?&lt;/P&gt;&lt;P&gt;Or is this only possible using HiveQL?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:58:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122155#M55360</guid>
      <dc:creator>marcia_hon_29</dc:creator>
      <dc:date>2017-02-24T02:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spark and HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122156#M55361</link>
      <description>&lt;P&gt;Fine grained permissions (row level, column masking, ...) are created in Ranger for any Hive table - whether created by HiveQL or SparkQL&lt;/P&gt;&lt;P&gt;So if you create a new table in Hive via SparkSQL that should be used by others with access control, you need to create the appropriate policies afterwards in Ranger.&lt;/P&gt;&lt;P&gt;For less fine grained permissions (delete update, insert delete) you can also use the SQL commands of &lt;A href="https://cwiki.apache.org/confluence/display/Hive/SQL+Standard+Based+Hive+Authorization#SQLStandardBasedHiveAuthorization-ManagingObjectPrivileges"&gt;https://cwiki.apache.org/confluence/display/Hive/SQL+Standard+Based+Hive+Authorization#SQLStandardBasedHiveAuthorization-ManagingObjectPrivileges&lt;/A&gt; with SparkSQL&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 15:33:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122156#M55361</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2017-02-24T15:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spark and HIVE</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122157#M55362</link>
      <description>&lt;P&gt;How do I create Hive tables in Spark?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 22:40:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-and-HIVE/m-p/122157#M55362</guid>
      <dc:creator>marcia_hon_29</dc:creator>
      <dc:date>2017-02-24T22:40:30Z</dc:date>
    </item>
  </channel>
</rss>

