Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add buildNumber

...

Step 1: Download and build Ambari 2.6.1 source

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

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

...

Code Block
mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DbuildNumber=207a8e3c6b58feef25cea171c9dd8cce276e02fa -DskipTests -Dpython.ver="python >= 2.6"

...

Code Block
mvn -B clean install jdeb:jdeb -DnewVersion=2.6.1.0.0 -DbuildNumber=207a8e3c6b58feef25cea171c9dd8cce276e02fa -DskipTests -Dpython.ver="python >= 2.6"

...

Code Block
apt-get install ./ambari-server*.deb   #This should also pull in postgres packages as well.

...

Code Block
apt-get install ./ambari-agent*.deb

Edit /etc/ambari-agent/ambari.ini

...