Essentially, the Spark SQL JDBC Thrift server is just a Spark port of HiveServer2. You don't need to run Hive, but you do need a working Metastore.

On 12/9/14 3:59 PM, Anas Mosaad wrote:
Thanks Judy, this is exactly what I'm looking for. However, and plz forgive me if it's a dump question is: It seems to me that thrift is the same as hive2 JDBC driver, does this mean that starting thrift will start hive as well on the server?

On Mon, Dec 8, 2014 at 9:11 PM, Judy Nash <judyn...@exchange.microsoft.com <mailto:judyn...@exchange.microsoft.com>> wrote:

    You can use thrift server for this purpose then test it with beeline.

    See doc:

    
https://spark.apache.org/docs/latest/sql-programming-guide.html#running-the-thrift-jdbc-server

    *From:*Anas Mosaad [mailto:anas.mos...@incorta.com
    <mailto:anas.mos...@incorta.com>]
    *Sent:* Monday, December 8, 2014 11:01 AM
    *To:* user@spark.apache.org <mailto:user@spark.apache.org>
    *Subject:* Spark-SQL JDBC driver

    Hello Everyone,

    I'm brand new to spark and was wondering if there's a JDBC driver
    to access spark-SQL directly. I'm running spark in standalone mode
    and don't have hadoop in this environment.

--
    *Best Regards/أطيب المنى,*

    *Anas Mosaad*




--

*Best Regards/أطيب المنى,*
*
*
*Anas Mosaad*
*Incorta Inc.*
*+20-100-743-4510*

Reply via email to