SparkSql报错:metastore.ObjectStore: Version information found in metastore differs 2.3.0 from expected

Spark操作sparkSql报错:metastore.ObjectStore: Version information found in metastore differs 2.3.0 from expected schema version 1.2.0. Schema verififcation is disabled hive.metastore.schema.verification so setting version.

解决方案:需要在hive-site.xml中配置hive.metastore.uris。如下:


然后重启spark-shell即可。

猜你喜欢

转载自blog.csdn.net/bigdata_mining/article/details/80983399
今日推荐