Versions Compared

Key

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

...

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

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

...

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

...