Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: remove leftover reference to mirrors

Build and install Ambari 2.4.

...

1

 
Info
Refer Ambari Development for prerequisites and additional information on how to build Apache Ambari.

...

Step 1: Download and build Ambari 2.4.0 source

Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.4.0 and find the suggested mirror for download. The process to verify the download is described is at http://www.apache.org/dyn/closer.cgi#verify

1 source

Code Block
wget http://wwwarchive.apache.org/dist/ambari/ambari-2.4.01/apache-ambari-2.4.01-src.tar.gz (use the suggested mirror from above)
tar xfvz apache-ambari-2.4.01-src.tar.gz
cd apache-ambari-2.4.01-src
mvn versions:set -DneVersion=2.4.01.0.0

pushd ambari-metrics
mvn versions:set -DnewVersion=2.4.01.0.0
popd

 

Note: If running into errors while compiling the ambari-metrics package due to missing the artifacts of jms, jmxri, jmxtools:

...

Code Block
mvn -B clean install package rpm:rpm -DnewVersion=2.4.01.0.0 -DskipTests -Dpython.ver="python >= 2.6"

...

Code Block
mvn -B clean install package jdeb:jdeb -DnewVersion=2.4.01.0.0 -DskipTests -Dpython.ver="python >= 2.6"

...