【发布时间】:2014-06-11 15:27:25
【问题描述】:
我是 hadoop 世界中的一只新蜜蜂。 我在 hive 中创建了一个内部表,并尝试将数据导入其中。
然后我尝试删除表,但出现以下错误。
FAILED: Error in metadata: MetaException(message:javax.jdo.JDOException: Cannot join from org.datanucleus.store.rdbms.mapping.java.PersistableMapping@6a9ccd9f to org.datanucleus.store.rdbms.mapping.java.PersistableMapping@55eb1db2 since they have different numbers of datastore columns!
NestedThrowables:
org.datanucleus.exceptions.NucleusException: Cannot join from org.datanucleus.store.rdbms.mapping.java.PersistableMapping@6a9ccd9f to org.datanucleus.store.rdbms.mapping.java.PersistableMapping@55eb1db2 since they have different numbers of datastore columns!)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
我可以做些什么来解决这个问题?
非常感谢任何帮助。
【问题讨论】:
-
这似乎与 PostgreSQL 没有任何关系,所以我已经取消了它的标记。我建议你展示你的代码 - 它可能更容易看到发生了什么。
-
我的 Hive 元数据存储在 postgreSQL 表创建正常,但随后插入失败以及 drop table 命令失败,出现上述错误。
标签: hadoop hive hadoop-yarn metastore