spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KhajaAsmath Mohammed <>
Subject Spark Sql - Losing connection with Hive Metastore
Date Sun, 31 Jul 2016 15:57:17 GMT

I am working on application to move the data from multiple hive tables into
single external hive table using joins.

Spark sql is able to insert data into the table but it is losing connection
to metastore after inserting data. I still have 3 more queries to be
executed and insert data into other hive external tables. Did anyone come
across this issue?


16/07/31 15:53:58 WARN ExecutorAllocationManager: Unable to reach the
cluster manager to request 2 total executors!
16/07/31 15:53:59 WARN SparkContext: Requesting executors is only supported
in coarse-grained mode
*16/07/31 15:54:00 WARN RetryingMetaStoreClient: MetaStoreClient lost
connection. Attempting to reconnect.*
*org.apache.thrift.TApplicationException: Invalid method name:
*        at*

Above log is displayed after inserting data into one table and the job is


hiveContext.sql("insert into from select query from
other tables using joins");


View raw message