Intel-bigdata / HiBench

HiBench is a big data benchmark suite.
Other
1.45k stars 761 forks source link

Access denied to: https://oss.sonatype.org/content/groups/scala-tools/org/scala-lang/scala-library/2.10.4/scala-library-2.10.4.jar , ReasonPhrase:Forbidden #532

Open lunar001 opened 6 years ago

lunar001 commented 6 years ago

When I build SparkHiBench, I meet the follow error: ...... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] hibench ............................................ SUCCESS [ 0.154 s] [INFO] hibench-common ..................................... FAILURE [ 11.767 s] [INFO] HiBench data generation tools ...................... SKIPPED [INFO] sparkbench ......................................... SKIPPED [INFO] sparkbench-common .................................. SKIPPED [INFO] sparkbench micro benchmark ......................... SKIPPED [INFO] sparkbench machine learning benchmark .............. SKIPPED [INFO] sparkbench-websearch ............................... SKIPPED [INFO] sparkbench-graph ................................... SKIPPED [INFO] sparkbench-sql ..................................... SKIPPED [INFO] sparkbench-streaming ............................... SKIPPED [INFO] sparkbench project assembly ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.144 s [INFO] Finished at: 2017-12-26T01:49:33-05:00 [INFO] Final Memory: 13M/23M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.0:add-source (scala-compile-first) on project hibench-common: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.0:add-source failed: Plugin net.alchim31.maven:scala-maven-plugin:3.2.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.scala-lang:scala-library:jar:2.10.4, org.scala-lang:scala-compiler:jar:2.10.3, org.scala-lang:scala-reflect:jar:2.10.3: Could not transfer artifact org.scala-lang:scala-library:jar:2.10.4 from/to scala-tools.org (https://oss.sonatype.org/content/groups/scala-tools/): Access denied to: https://oss.sonatype.org/content/groups/scala-tools/org/scala-lang/scala-library/2.10.4/scala-library-2.10.4.jar , ReasonPhrase:Forbidden. -> [Help 1] [ERROR] ......

It seems that I can't downloads scala-library-2.10.4.jar. Have you ever encountered this problem?

WinstonZheng commented 6 years ago

use the sudo and try more times , maybe it will help.

MahdiTorab commented 5 years ago

In the pom.xml:

https://oss.sonatype.org/content/groups/scala-tools/ --> https://mvnrepository.com/artifact/org.scala-tools/

*In the both places that it's mentioned

Annmeng commented 5 years ago

Could not resolve dependencies for project com.intel.hibench:autogen:jar:7.1-SNAPSHOT: Failure to find com.intel.hibench:hibench-common:jar:7.1-SNAPSHOT in https://mvnrepository.com/artifact/org.scala-tools/ was cached in the local repository, resolution will not be reattempted until the update interval of scala-tools.org has elapsed or updates are forced -> [Help 1]

but i still have a problem after modify

hualongfeng commented 4 years ago

Is there someone to solve the problem?

Pl4tiNuM commented 3 years ago

I am also having this issue, even when replacing https://oss.sonatype.org/content/groups/scala-tools/ with https://mvnrepository.com/artifact/org.scala-tools/ I get the same error (for the new repository).

Any other ideas?

SrinidhiRaghavendra commented 3 years ago
<repository>
      <id>org.apache.spark</id>
      <name>Apache Spark</name>
      <url>https://mvnrepository.com/artifact</url>
</repository>

Use the above repository to get access. Make sure spark.version is 3.0.0 instead of 3.0