<?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: query hive tables with spark sql in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/query-hive-tables-with-spark-sql/m-p/145381#M107949</link>
    <description>&lt;P&gt;+1 azeltov. We can take that one step further an make the Hive tables available through Spark SQL via JDBC from outside the cluster. &lt;/P&gt;&lt;P&gt;SPARK_HOME/sbin/start-thriftserver.sh --hiveconf hive.server2.thrift.port={port to listen} --hiveconf hive.server2.thrift.bind.host={host to bind to} --master yarn-client&lt;/P&gt;&lt;P&gt;This will start a HiveServer2 instance that has access to the meta store but will turn SQL into Spark instruction sets and RDDs under the covers. You should now be able to use a HiveServer compliant JDBC driver to connect and access the power of SparkSQL and yet leverage all of the existing investment and assets in Hive.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 00:42:11 GMT</pubDate>
    <dc:creator>vvaks</dc:creator>
    <dc:date>2016-03-30T00:42:11Z</dc:date>
  </channel>
</rss>

