Versions Compared

Key

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

Build and install Ambari 2.1.

...

1

Step 1: Download and build Ambari 2.1.

...

1 source

Go to http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.1.01 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.1.01/apache-ambari-2.1.01-src.tar.gz (use the suggested mirror from above)
tar xfvz apache-ambari-2.1.01-src.tar.gz
cd apache-ambari-2.1.01-src
mvn versions:set -DnewVersion=2.1.01

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

...

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

...