Hi,

I am trying to connect retrieve some records from hive existing table.
Spark submit script is not able to pull the data from the hive and
resulting in below exception.

*16/07/30 00:00:40 WARN RetryingMetaStoreClient: MetaStoreClient lost
connection.
Attempting to reconnect.*

*org.apache.thrift.TApplicationException: Invalid method name:
'alter_table_with_cascade'.*


*My Environment Details:*

*AWS EMR 4.7 *


followed resolution mentioned in
*http://jugnu-life.blogspot.com/2016/01/spark-failed-execution-error-return.html
<http://jugnu-life.blogspot.com/2016/01/spark-failed-execution-error-return.html>
* but it didnt resolve.

I have added below properties in *spark-defaults.conf* and redirected to
new errors.

*spark.sql.hive.metastore.version = 0.14.0*

*spark.sql.hive.metastore.jars =
/etc/hadoop/conf:/etc/hive/conf:/usr/lib/hadoop/*:/usr/lib/hive/**

Does anyone know how to resolve this error?


Thanks,

Asmath

Reply via email to