[ https://issues.apache.org/jira/browse/SPARK-13984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jianfeng Hu updated SPARK-13984: -------------------------------- Description: 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 be 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? was: 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? > 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 be 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org