spark2.3.0编译出错
来源:2-7 -Spark源码编译及部署
RhythmEVO
2018-09-04
Failed to execute goal on project spark-launcher_2.11: Could not resolve dependencies for project org.apache.spark:spark-launcher_2.11:jar:2.3.0: Failure to find org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.7.0 in https://repo.maven.apache.org/maven2 was cached in the local repository
在maven源找不到这个jar包,我换过aliyun mirror也是这个问题。
2回答
-
你去本地仓库把提醒的这个包的带有update名字的文件删了
152018-09-04 -
roy4j
2020-02-18
修改 spark2.3.0/pom.xml
<!-- <id>central</id>
This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution
<name>Maven Repository</name>
<url>https://repo.maven.apache.org/maven2</url> -->
<id>cloudera</id>
<name>cloudera repository</name>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
10
相似问题