当前位置:   article > 正文

启动MySQL时missing,获取MissingTableException:在mysql上启动配置单元元数据存储时必需的表缺少​​VERSION...

caused by: org.datanucleus.store.rdbms.exceptions.missingtableexception: req

Hive with mysql as the metadata store stopped working:

Caused by: org.datanucleus.store.rdbms.exceptions.MissingTableException:

Required table missing : "`VERSION`" in Catalog "" Schema "". DataNucleus

requires this table to perform its persistence operations. Either your

MetaData is incorrect, or you need to enable "datanucleus.autoCreateTables"

Setting the autoCreateTables is not working either:

datanucleus.autoCreateTables

True

So how to fix this?

解决方案

Go to the $HIVE_HOME and run the initschema option on the schematool:

bin/schematool -dbType mysql -initSchema

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/719402?site
推荐阅读
相关标签
  

闽ICP备14008679号