hive,show tables报错解决方案。

执行show tables;
FAILED: Execution Error, return code 1 from org.apache.Hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

查看更详细报错:
hive -hiveconf hive.root.logger=DEBUG,console

出现Caused by: MetaException(message:Version information not found in metastore. )
错误。

解决方法:
修改属性:hive-site.xml
hive.metastore.schema.verification
false

你可能感兴趣的:(hadoop)