Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.1
-
None
-
None
-
None
Description
When using maven to compile hadoop source code, the following exception message appears:
[*INFO*] ------------------------------------------------------------------------
[*INFO*] BUILD FAILURE
[*INFO*] ------------------------------------------------------------------------
[*INFO*] Total time: 29.546 s
[*INFO*] Finished at: 2020-06-20T23:57:59+08:00
[*INFO*] ------------------------------------------------------------------------
[*ERROR*] Failed to execute goal on project hadoop-common: Could not resolve dependencies for project org.apache.hadoop:hadoop-common:jar:3.3.0-SNAPSHOT: Could not find artifact org.apache.hadoop.thirdparty:hadoop-shaded-protobuf_3_7:jar:1.0.0-SNAPSHOT in apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots)* -> *[Help 1]
[*ERROR*]
[*ERROR*] To see the full stack trace of the errors, re-run Maven with the -e switch.
[*ERROR*] Re-run Maven using the -X switch to enable full debug logging.
[*ERROR*]
[*ERROR*] For more information about the errors and possible solutions, please read the following articles:
[*ERROR*] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[*ERROR*]
[*ERROR*] After correcting the problems, you can resume the build with the command
[*ERROR*] mvn <args> -rf :hadoop-common