----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52155/#review157597 -----------------------------------------------------------
Ship it! Ship It! - Jonathan Hurley On Nov. 21, 2016, 2:52 a.m., wang yaoxin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/52155/ > ----------------------------------------------------------- > > (Updated Nov. 21, 2016, 2:52 a.m.) > > > Review request for Ambari, Jonathan Hurley, Oliver Szabo, Robert Nettleton, > and Sebastian Toader. > > > Bugs: AMBARI-18441 > https://issues.apache.org/jira/browse/AMBARI-18441 > > > Repository: ambari > > > Description > ------- > > My first upgrade test failed due to my environment issue. Since in real > production environment this failure would occur again. > > ambari upgrade to 2.1.1 and later version, if the first time failed , excute > ambari-server upgrade again will error duplicate key value violates unique > constraint "pk_hostcomponentstate". > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog211.java > db13612 > > Diff: https://reviews.apache.org/r/52155/diff/ > > > Testing > ------- > > the unit test is UpgradeCatalog211Test.java: Process finished with exit code > 0. > done ! > > > File Attachments > ---------------- > > AMBARI-18441-02.patch > > https://reviews.apache.org/media/uploaded/files/2016/11/16/4c6f3d15-96cc-4c22-babe-b45b103a8c30__AMBARI-18441-02.patch > > > Thanks, > > wang yaoxin > >