首页 > 其他分享 >hive启动出现Either your MetaData is incorrect, or you need to enable "datanucleus.schema.autoCreate

hive启动出现Either your MetaData is incorrect, or you need to enable "datanucleus.schema.autoCreate

时间:2023-12-02 22:44:24浏览次数:51  
标签:incorrect autoCreateTables enable datanucleus need table your schema

hive启动出现:

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.schema.autoCreateTables"

 

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.schema.autoCreateTables"

在hive-site.xml添加上:

<property>
    <name>datanucleus.schema.autoCreateAll</name>
    <value>true</value>
 </property>

 

标签:incorrect,autoCreateTables,enable,datanucleus,need,table,your,schema
From: https://www.cnblogs.com/liucaizhi/p/17872389.html

相关文章