You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Oleg Nechiporenko <on...@apache.org> on 2014/03/12 17:31:14 UTC
Review Request 19131: Start all services silently fails when a service is
not startable
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19131/
-----------------------------------------------------------
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
Re: Review Request 19131: Start all services silently fails when a service
is not startable
Posted by Alexandr Antonenko <hi...@gmail.com>.
-----------------------------------------------------------
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
>
>