----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47790/#review134819 -----------------------------------------------------------
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java (line 378) <https://reviews.apache.org/r/47790/#comment199730> Assume current stack is 2.3 Does this still allow installing in this order in the same stack? 1. HDP 2.5.2.0 2. HDP 2.5.0.0 I agree that installing 2.4 after any 2.5 has been installed is problematic. - Alejandro Fernandez On May 25, 2016, 2:07 a.m., Nate Cole wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47790/ > ----------------------------------------------------------- > > (Updated May 25, 2016, 2:07 a.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 > ------- > > 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 > >