hive,show tables报错解决方案。

来源:互联网 发布:怎样开淘宝店视频教程 编辑:程序博客网 时间:2024/04/24 20:50
执行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
<name>hive.metastore.schema.verification</name>
<value>false</value>
0 0
原创粉丝点击