Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Build and install Ambari 2.

...

4.

...

0

Step 1: Download and build Ambari 2.

...

4.

...

0 source

Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.24.20 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

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

pushd ambari-metrics
mvn versions:set -DnewVersion=2.24.20
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.24.20 -DskipTests -Dpython.ver="python >= 2.6"

...

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

...