You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ирина Шершукова <ir...@gmail.com> on 2018/11/12 08:12:14 UTC

FW: Spark2 and Hive metastore

hello guys,  spark2.1.0 couldn’t connect to existing Hive metastore.



Re: FW: Spark2 and Hive metastore

Posted by "Sergey B." <se...@gmail.com>.
In order for the Spark to see Hive metastore you need to build Spark
Session accordingly:

val spark = SparkSession.builder()
  .master("local[2]")
  .appName("myApp")
  .config("hive.metastore.uris","thrift://localhost:9083")
  .enableHiveSupport()
  .getOrCreate()

On Mon, Nov 12, 2018 at 11:49 AM Ирина Шершукова <ir...@gmail.com>
wrote:

>
>
> hello guys,  spark2.1.0 couldn’t connect to existing Hive metastore.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscribe@spark.apache.org