gpt4 book ai didi

hadoop - 启动配置单元时出现 nucleusexception 和 jdofatalexception 错误

转载 作者:可可西里 更新时间:2023-11-01 15:27:07 25 4
gpt4 key购买 nike

我是第一次在带有嵌入式 derby Metastore 的系统上安装配置单元,但它无法正常工作。它显示了下面提到的错误。

Caused by: javax.jdo.JDOFatalInternalException: The java type java.lang.Long (jdbc-type="",sql-type="") cant be mapped for this metastore.No mapping is available.
NestedThrowables
org.datanucleus.exceptions.NucleusException: The java type java.lang.Long (jdbc-type="",sql-type="") cant be mapped for this metastore.No mapping is available

请帮忙

最佳答案

Hive 尚不支持 Java 9。安装Java 7或8,并在安装Hive的环境中将JDK目录设置为JAVA_HOME

PS: Metastore 比 derby 更喜欢 MySQL。

嵌入式 Metastore 数据库主要用于单元测试。一次只有一个进程可以连接到 Metastore 数据库,因此这不是一个真正实用的解决方案,但很适合单元测试。

关于hadoop - 启动配置单元时出现 nucleusexception 和 jdofatalexception 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43086904/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com