THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
ambari-server install-mpack --mpack=/path/to/mpack.tar.gz --purge --verbose
Note: Do not pass the "--purge" command line parameter when installing an add-on service management pack. The "--purge" flag is used to purge any existing stack definition definition (HDP is included in Ambari release) and should be included only when installing a Stack Management Pack.
Upgrading Management Pack
...