----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47790/ -----------------------------------------------------------
(Updated May 24, 2016, 10:07 p.m.) Review request for Ambari, Alejandro Fernandez and Jonathan Hurley. Bugs: AMBARI-16854 https://issues.apache.org/jira/browse/AMBARI-16854 Repository: ambari Description ------- STR: 1. Install 2.3.0.0 2. Register and Install 2.5.0.0 (with or without package-version; it gets computed correctly) 3. Register 2.4 as the stack version (without package-version) Installation of 2.4 will fail because the way agents invoke installation is to install by name. If the package-version is not known, then the 'newest' is ALWAYS installed. In this case, that would be 2.5.0.0. 2.4 is never picked up as the correct repository. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java 9dc5c4d ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java 3c9a91d Diff: https://reviews.apache.org/r/47790/diff/ Testing (updated) ------- Manual. Automated: Tests run: 4357, Failures: 0, Errors: 0, Skipped: 34 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 35:22.629s [INFO] Finished at: Tue May 24 21:38:01 EDT 2016 [INFO] Final Memory: 34M/596M [INFO] ------------------------------------------------------------------------ Thanks, Nate Cole