when running: # both of these build command fail (i want to do the native libs; but right now just trying to get anything to build) # mvn -e package -Pdist -DskipTests -Dtar # mvn -e package -Pdist,native -DskipTests -Dtar
fails to build => Apache Hadoop YARN Application Catalog Webapp note: i have already installed all the prereqs defined => https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/NativeLibraries.html ============================================================= # yum list installed | grep zlib zlib.x86_64 1.2.7-19.el7_9 @updates zlib-devel.x86_64 1.2.7-19.el7_9 @updates # sudo yum list installed | grep gzip gzip.x86_64 1.5-10.el7 installed # yum list installed | grep bzip bzip2.x86_64 1.0.6-13.el7 @base bzip2-devel.x86_64 1.0.6-13.el7 @base bzip2-libs.x86_64 1.0.6-13.el7 installed # yum list installed | grep lz4 lz4.x86_64 1.8.3-1.el7 @base lz4-devel.x86_64 1.8.3-1.el7 @base # yum list installed | grep zlib zlib.x86_64 1.2.7-19.el7_9 @updates zlib-devel.x86_64 1.2.7-19.el7_9 @updates # yum list installed | grep autoconf autoconf.noarch 2.69-11.el7 @base # yum list installed | grep automake automake.noarch 1.13.4-3.el7 @base # yum list installed | grep libtool libtool.x86_64 2.4.2-22.el7_3 @base # yum list installed | grep zlib zlib.x86_64 1.2.7-19.el7_9 @updates zlib-devel.x86_64 1.2.7-19.el7_9 @updates # yum list installed | grep openssl-dev openssl-devel.x86_64 1:1.0.2k-24.el7_9 @updates ============================================================= using: java 8 maven 3.8.4 gcc 11.2 cmake 3.22.1 ... [INFO] Apache Hadoop YARN Application Catalog ............. SUCCESS [ 0.029 s] [INFO] Apache Hadoop YARN Application Catalog Webapp ...... FAILURE [ 2.462 s] [INFO] Apache Hadoop YARN Application Catalog Docker Image SKIPPED ... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:29 min [INFO] Finished at: 2022-02-25T18:39:38Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.2:yarn (yarn install) on project hadoop-yarn-applications-catalog-webapp: Failed to run task: 'yarn ' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.2:yarn (yarn install) on project hadoop-yarn-applications-catalog-webapp: Failed to run task at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) ... Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn ' failed. at com.github.eirslett.maven.plugins.frontend.lib.YarnTaskExecutor.execute (YarnTaskExecutor.java:64) at com.github.eirslett.maven.plugins.frontend.mojo.YarnMojo.execute (YarnMojo.java:65) ... Caused by: com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutionException: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute (ProcessExecutor.java:82) at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.executeAndRedirectOutput (ProcessExecutor.java:64) ...