UPDATE: New error message: [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-yarn (install node and yarn) on project ambari-web: The plugin com.github.eirslett:frontend-maven-plugin:1.4 requires Maven version 3.1.0 -> [Help 1]
Prereq. versions: [root@HW001 ~]# java -version openjdk version "1.8.0_151" OpenJDK Runtime Environment (build 1.8.0_151-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode) [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 Downloads]# g++ --version g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# mvn -v Apache Maven 3.0.5 (Red Hat 3.0.5-17) Maven home: /usr/share/maven Java version: 1.8.0_151, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-693.11.1.el7.x86_64", arch: "amd64", family: "unix" [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# npm --version 3.10.10 [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# python --version Python 2.7.5 [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# pip --version pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7) [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# easy_install --version setuptools 0.9.8 [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# yum list installed | grep rpm-build rpm-build.x86_64 4.11.3-40.el7 @base rpm-build-libs.x86_64 4.11.3-40.el7 @base [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# node --version v6.17.1 [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# [root@HW001 ~]# npm list -g | grep brunch ├─┬ brunch@2.10.17 │ │ ├── brunch-skeletons@0.1.6 │ ├─┬ serve-brunch@0.2.1 Appears need a version of maven beyond what the default centos7 repos provide (3.0.5). Will continue working on this to debug. On Thu, Oct 31, 2019 at 9:56 AM Reed Villanueva <rvillanu...@ucera.org> wrote: > Attempting to build ambari 2.7.3 via docs: > https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.3 > Getting build errors when installing after command: > mvn -B clean install rpm:rpm -DnewVersion=2.7.3.0.0 > -DbuildNumber=4295bb16c439cbc8fb0e7362f19768dde1477868 > -DskipTests -Dpython.ver="python >= 2.6" > > Any ideas what could be going on here or fixes? Some info that may be > relevant provided below: > > [root@HW001 ~]# sha256sum ./Downloads/apache-ambari-2.7.3-src.tar.gz > 920c1b2caaba3a6f8b97ee67c557b7b4817d05dda7104d8bb6cbdc68da13c1fe > ./Downloads/apache-ambari-2.7.3-src.tar.gz > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# java -version > openjdk version "1.8.0_151" > OpenJDK Runtime Environment (build 1.8.0_151-b12) > OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode) > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# mvn -v > Apache Maven 3.0.5 (Red Hat 3.0.5-17) > Maven home: /usr/share/maven > Java version: 1.8.0_151, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.10.0-693.11.1.el7.x86_64", arch: "amd64", > family: "unix" > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# python --version > Python 2.7.5 > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# pip --version > pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7) > [root@HW001 ~]# easy_install --version > setuptools 0.9.8 > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# yum list installed | grep rpm-build > rpm-build.x86_64 4.11.3-40.el7 @base > rpm-build-libs.x86_64 4.11.3-40.el7 @base > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# node --version > v6.17.1 > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# > [root@HW001 ~]# npm list -g | grep brunch > ├─┬ brunch@2.10.17 > │ │ ├── brunch-skeletons@0.1.6 > │ ├─┬ serve-brunch@0.2.1 > -- This electronic message is intended only for the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you.