Chris Teoh created HDDS-2387: -------------------------------- Summary: Build is broken - needs fixing Key: HDDS-2387 URL: https://issues.apache.org/jira/browse/HDDS-2387 Project: Hadoop Distributed Data Store Issue Type: Bug Reporter: Chris Teoh Assignee: Chris Teoh
Maven build is looking for a file that doesn't exist. When attempting to run:- mvn clean package -e -X -DskipShade -DskipRecon -DskipTests Following output is observed:- {{[DEBUG] Executing command line: [bash, /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching, /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/target, 0.5.0-SNAPSHOT] cp: /Users/cteoh/GitHub/hadoop-ozone/README.txt: No such file or directory Current directory /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/target $ rm -rf ozone-0.5.0-SNAPSHOT $ mkdir ozone-0.5.0-SNAPSHOT $ cd ozone-0.5.0-SNAPSHOT $ cp -p /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/src/main/license/bin/NOTICE.txt NOTICE.txt $ cp -p /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/src/main/license/bin/LICENSE.txt LICENSE.txt $ cp -pr /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/dist/src/main/license/bin/licenses licenses $ cp -p /Users/cteoh/GitHub/hadoop-ozone/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/LICENSE licenses/LICENSE-ozone-recon.txt $ cp -p /Users/cteoh/GitHub/hadoop-ozone/README.txt . Failed! [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Ozone Main ........................... SUCCESS [ 0.343 s] [INFO] Apache Hadoop HDDS ................................. SUCCESS [ 2.404 s] [INFO] Apache Hadoop HDDS Config .......................... SUCCESS [ 1.370 s] [INFO] Apache Hadoop HDDS Common .......................... SUCCESS [ 7.500 s] [INFO] Apache Hadoop HDDS Client .......................... SUCCESS [ 1.085 s] [INFO] Apache Hadoop HDDS Server Framework ................ SUCCESS [ 1.342 s] [INFO] Apache Hadoop HDDS Container Service ............... SUCCESS [ 3.146 s] [INFO] Apache Hadoop HDDS/Ozone Documentation ............. SUCCESS [ 0.702 s] [INFO] Apache Hadoop HDDS SCM Server ...................... SUCCESS [ 2.338 s] [INFO] Apache Hadoop HDDS Tools ........................... SUCCESS [ 0.864 s] [INFO] Apache Hadoop Ozone ................................ SUCCESS [ 0.228 s] [INFO] Apache Hadoop Ozone Common ......................... SUCCESS [ 4.275 s] [INFO] Apache Hadoop Ozone Client ......................... SUCCESS [ 0.979 s] [INFO] Apache Hadoop Ozone Manager Server ................. SUCCESS [ 2.568 s] [INFO] Apache Hadoop Ozone S3 Gateway ..................... SUCCESS [ 2.278 s] [INFO] Apache Hadoop Ozone CSI service .................... SUCCESS [ 3.622 s] [INFO] Apache Hadoop Ozone Integration Tests .............. SUCCESS [ 2.546 s] [INFO] Apache Hadoop Ozone Tools .......................... SUCCESS [ 2.052 s] [INFO] Apache Hadoop Ozone Datanode ....................... SUCCESS [ 0.872 s] [INFO] Apache Hadoop Ozone In-Place Upgrade ............... SUCCESS [ 0.509 s] [INFO] Apache Hadoop Ozone Insight Tool ................... SUCCESS [ 0.893 s] [INFO] Apache Hadoop Ozone Distribution ................... FAILURE [ 1.300 s] [INFO] Apache Hadoop Ozone Fault Injection Tests .......... SKIPPED [INFO] Apache Hadoop Ozone Network Tests .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.771 s [INFO] Finished at: 2019-10-30T10:48:41+11:00 [INFO] Final Memory: 200M/3066M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (dist) on project hadoop-ozone-dist: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (dist) on project hadoop-ozone-dist: Command execution failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:303) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:402) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:164) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:750) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292) ... 22 more}} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org