----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43349/#review118450 -----------------------------------------------------------
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java (line 358) <https://reviews.apache.org/r/43349/#comment179680> This seems to be the only change required! The rest of the changes are refactoring and fixing syntax sugar. :-) It took me a while to identify the actual fix. Which is why it is always good to leave out the noise. - Nahappan Somasundaram On Feb. 9, 2016, 8:18 a.m., Ajit Kumar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43349/ > ----------------------------------------------------------- > > (Updated Feb. 9, 2016, 8:18 a.m.) > > > Review request for Ambari, Jayush Luniya, Nahappan Somasundaram, and Sumit > Mohanty. > > > Bugs: AMBARI-14965 > https://issues.apache.org/jira/browse/AMBARI-14965 > > > Repository: ambari > > > Description > ------- > > If post request of service creation fails due to db error, Get request shows > service is created. If you send post request again, it fails stating service > already exists though DB doesn't have any corresponding entry. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ServiceResourceProvider.java > a2aca7071af661f9903c11121572ec5b110b3826 > > Diff: https://reviews.apache.org/r/43349/diff/ > > > Testing > ------- > > Unit test > Tested APIs manually. > > > Thanks, > > Ajit Kumar > >
