You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jianfeng Hu (JIRA)" <ji...@apache.org> on 2016/03/17 22:12:33 UTC

[jira] [Created] (SPARK-13984) Schema verification always fail when using remote Hive metastore

Jianfeng Hu created SPARK-13984:
-----------------------------------

             Summary: Schema verification always fail when using remote Hive metastore
                 Key: SPARK-13984
                 URL: https://issues.apache.org/jira/browse/SPARK-13984
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.6.1
            Reporter: Jianfeng Hu


Launch a Hive metastore Thrift server, and then in hive-site.xml:
- set hive.metastore.uris
- set hive.metastore.schema.verification to true

Run spark-shell, it will fail with:
java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
Caused by: MetaException(message:Version information not found in metastore.

It might be using the wrong metastore (could possibly the local derby metastore) when doing the verification? Not exactly sure on this but maybe could someone more familiar with the HiveContext code help investigating?




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org