Member since
01-19-2016
8
Posts
4
Kudos Received
0
Solutions
01-08-2018
11:43 AM
Darn. Somehow on my CentOS it didn't show the "Add Comment" function. As written in the other comment: This indeed fixes this certain error, but when executing the build command then, I get a new error instead: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (psutils-compile) on project ambari-metrics-host-monitoring: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/home/centos/ambaribuild/newtry/apache-ambari-2.6.0-src/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/psutil" executable="/home/centos/ambaribuild/newtry/apache-ambari-2.6.0-src/ambari-metrics/ambari-metrics-host-monitoring/../../ambari-common/src/main/unix/ambari-python-wrap">... @ 4:327 in /home/centos/ambaribuild/newtry/apache-ambari-2.6.0-src/ambari-metrics/ambari-metrics-host-monitoring/target/antrun/build-psutils-compile.xml
... View more
01-06-2018
12:49 AM
@Rebecca Rump During Step1 have you really executed the "mvn rpm:rpm" command to generate the RPM? mvn -B clean install package rpm:rpm -DnewVersion=2.6.0.0.0 -DskipTests -Dpython.ver="python >= 2.6" . You will need to have the following packages already installed on your host in order to build Ambari RPMs. rpmbuild (rpm-build package)
g++ (gcc-c++ package) . Please refer to the following doc which tells about the detailed development step of Ambari (including the Ambari RPM build). https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development . Once RPM build is completed then you will see the "rpm" files generated. You will need to then run the yum command to install that RPM: # yum install ambari-serverxxxxxxxxx.rpm . Here "xxxxxxxxx" will be the version that you have built. .
... View more