----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56859/#review166185 -----------------------------------------------------------
Ship it! Ship It! - Robert Levas On Feb. 20, 2017, 5:10 p.m., Jonathan Hurley wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56859/ > ----------------------------------------------------------- > > (Updated Feb. 20, 2017, 5:10 p.m.) > > > Review request for Ambari, Dmitro Lisnichenko, Nate Cole, Robert Levas, and > Sid Wagle. > > > Bugs: AMBARI-20055 > https://issues.apache.org/jira/browse/AMBARI-20055 > > > Repository: ambari > > > Description > ------- > > The Ambari upgrade scripts should now perform the following operations: > > - Adding the following columns / constraints to the {{clusterconfig}} table: > -- {{selected SMALLINT NOT NULL DEFAULT 0}} - whether or not the > configuration is currently selected > -- {{selected_timestamp BIGINT NOT NULL DEFAULT 0}} - the last time that the > configuration was marked as {{selected}} > > - Finding all {{selected}} mappings in {{clusterconfigmapping}} and marked > their associated entry in {{clusterconfig}} as {{selected}} > > - Removal of the {{clusterconfigmapping}} table. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/orm/helpers/dbms/GenericDbmsHelper.java > 36fab83 > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog300.java > 0267a5e > > ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog300Test.java > ec001ec > > Diff: https://reviews.apache.org/r/56859/diff/ > > > Testing > ------- > > - Installed Ambari 2.5 with a basic cluster. > - Added new configuration versions > - Reverted a few configurations > - Created configuration groups with overrides > - Performed an upgrade to verify new configs are correct > > mvn clean test > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 20:12 min > [INFO] Finished at: 2017-02-20T17:09:46-05:00 > [INFO] Final Memory: 66M/718M > [INFO] > ------------------------------------------------------------------------ > > > Thanks, > > Jonathan Hurley > >