----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19131/#review36928 -----------------------------------------------------------
Ship it! Ship It! - Alexandr Antonenko On March 12, 2014, 4:31 p.m., Oleg Nechiporenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19131/ > ----------------------------------------------------------- > > (Updated March 12, 2014, 4:31 p.m.) > > > Review request for Ambari and Alexandr Antonenko. > > > Bugs: AMBARI-5051 > https://issues.apache.org/jira/browse/AMBARI-5051 > > > Repository: ambari > > > Description > ------- > > I clicked on {{Start All}} services button and nothing happened. Turns out > that on the API call, the server throws a 500 exception that is silently > lost. We should show in a dialog the error response from server. Similarly > for {{Stop All}} action. > > {{PUT http://c6401:8080/api/v1/clusters/c1/services?params/run_smoke_test}} > {code} > {"RequestInfo": {"context" :"_PARSE_.START.ALL_SERVICES"}, "Body": > {"ServiceInfo": {"state": "START > {code} > > {code} > { > "status" : 500, > "message" : "org.apache.ambari.server.controller.spi.SystemException: An > internal system exception occurred: Invalid transition for > servicecomponenthost, clusterName=c1, clusterId=3, serviceName=OOZIE, > componentName=OOZIE_SERVER, hostname=c6402.ambari.apache.org, > currentState=INSTALL_FAILED, newDesiredState=STARTED" > } > {code} > > > Diffs > ----- > > ambari-web/app/controllers/main/service.js 67bccf6 > > Diff: https://reviews.apache.org/r/19131/diff/ > > > Testing > ------- > > 2537 tests complete (929 ms) > > > Thanks, > > Oleg Nechiporenko > >
