在spark-shell执行如下语句时候
scala> spark.sql("show tables").show
报错:
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中配置禁用版本验证:
<property>
<name>hive.metastore.schema.verification</name>
<value>false</value>
</property>