MetaException(message:Required table missing : “DBS“ in Catalog ““ Schema ““. DataNucleus requires t

た 入场券 2022-11-20 08:19 322阅读 0赞
  1. 2020-10-27 18:31:04: Starting Hive Metastore Server
  2. MetaException(message:Required table missing : "DBS" 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")
  3. at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:84)
  4. at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:93)
  5. at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8661)
  6. at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8656)
  7. at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:8926)
  8. at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:8843)
  9. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  10. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  11. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  12. at java.lang.reflect.Method.invoke(Method.java:498)
  13. at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
  14. at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
  15. Caused by: MetaException(message:Required table missing : "DBS" 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")

解决方案
在conf下的hive-site.xml添加

  1. <property>
  2. <name>datanucleus.schema.autoCreateAll</name>
  3. <value>true</value>
  4. </property>

发表评论

表情:
评论列表 (有 0 条评论,322人围观)

还没有评论,来说两句吧...

相关阅读