当我为Hadoop版本2.6.0-cdh5.7.0构建Spark 1.6源代码并使用sbt build和maven build构建Yarn时,我得到的错误相同:
[error] (yarn/*:update) java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded.
IvyNode = org.codehaus.jackson#jackson-core-asl;1.8.3
我添加了maven依赖
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.8.3</version>
</dependency>
我还在项目文件夹
中的plugins.sbt文件中添加了以下依赖项libraryDependencies += "org.codehaus.jackson" % "jackson-core-asl" % "1.8.3" % "test" intransitive()
我尝试添加
dependencyOverrides += "org.codehaus.jackson" % "jackson-core-asl" % "1.8.3" in plugins.sbt
但仍然没有错误。
请帮忙, 谢谢 卡里姆