spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey B." <sergey.bushma...@gmail.com>
Subject Re: FW: Spark2 and Hive metastore
Date Mon, 12 Nov 2018 09:10:45 GMT
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 Ирина Шершукова <irinawerwukova@gmail.com>
wrote:

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

Mime
View raw message