[ https://issues.apache.org/jira/browse/MAPREDUCE-7386?focusedWorklogId=779278&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-779278 ]
ASF GitHub Bot logged work on MAPREDUCE-7386: --------------------------------------------- Author: ASF GitHub Bot Created on: 08/Jun/22 00:02 Start Date: 08/Jun/22 00:02 Worklog Time Spent: 10m Work Description: snmvaughan commented on PR #4415: URL: https://github.com/apache/hadoop/pull/4415#issuecomment-1149287799 Building the entire distribution in 10 minutes really facilitates development. I think you're underestimating the savings that come from a parallel build. There are many organizations that run the tests less frequently since they take so long to complete. I mentioned the skipping of tests specifically since they still aren't capable of running safely in a parallel build and therefore would have to be handled independently. On Tue, Jun 7, 2022 at 6:28 PM Ayush Saxena ***@***.***> wrote: > ***@***.**** requested changes on this pull request. > > I don't think we should go ahead and explicitly add dependencies like > that, just for some random build strategy, do a normal mvn clean install, > if that works that is more than enough > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/hadoop/pull/4415#pullrequestreview-998914070>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAC3RCA4ZXMQXCUOMZLPIYTVN7EHVANCNFSM5YEBVLHA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > Issue Time Tracking ------------------- Worklog Id: (was: 779278) Time Spent: 20m (was: 10m) > Maven parallel builds (skipping tests) fail > ------------------------------------------- > > Key: MAPREDUCE-7386 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7386 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: build > Affects Versions: 3.4.0, 3.3.4 > Environment: The problem occurred while using the Hadoop development > environment (Ubuntu) > Reporter: Steve Vaughan > Priority: Critical > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Running a parallel build fails during assembly with the following error when > running either package or install: > {code:java} > 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. {code} > {code:java} > 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. {code} > The command executed was: > {code:java} > $ mvn -nsu clean install -Pdist,native -DskipTests -Dtar > -Dmaven.javadoc.skip=true -T 2C {code} > Adding dependencies to the assembly plugin configuration addresses the issue -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org