----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42838/#review118429 -----------------------------------------------------------
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java (line 129) <https://reviews.apache.org/r/42838/#comment179638> This should be idempotent. If anything fails in this file, we should be able to retry. Please add a check that the table doesn't already exist. Before inserting those 2 rows, can check if they already exist. - Alejandro Fernandez On Feb. 4, 2016, 12:36 a.m., Ajit Kumar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42838/ > ----------------------------------------------------------- > > (Updated Feb. 4, 2016, 12:36 a.m.) > > > Review request for Ambari, Jayush Luniya, Nahappan Somasundaram, and Sumit > Mohanty. > > > Bugs: AMBARI-14912 > https://issues.apache.org/jira/browse/AMBARI-14912 > > > Repository: ambari > > > Description > ------- > > Update upgrade catalog 240 and add db schema changes for settings table. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java > 3414388b9a738a4fc7cc5d0f484fe553cce840ee > > ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java > d1d68f24871422936321ad0c940499fc1ef4cbec > > Diff: https://reviews.apache.org/r/42838/diff/ > > > Testing > ------- > > Unit testing. Currently my local trunk build is breaking even w/o my changes. > I'll run mvn clean install when it is fixed. > > > Thanks, > > Ajit Kumar > >
