Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.4.0, 3.3.5
-
The problem occurred while using the Hadoop development environment (Ubuntu)
Description
Running a parallel build fails during assembly with the following error when running either package or install:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (package-mapreduce) on project hadoop-mapreduce: Failed to create assembly: Artifact: org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.4.0-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create assembly: Artifact: org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.4.0-SNAPSHOT (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.
The command executed was:
$ mvn -nsu clean install -Pdist,native -DskipTests -Dtar -Dmaven.javadoc.skip=true -T 2C
Adding dependencies to the assembly plugin configuration addresses the issue
Attachments
Issue Links
- blocks
-
HADOOP-18394 Enable parallel building in pre-commit jobs
- Open
- is blocked by
-
HADOOP-18417 Upgrade Maven Surefire plugin to 3.0.0-M7
- Patch Available
- is related to
-
YARN-11458 Maven parallel build fails when Yarn UI v2 is enabled
- Open
- links to