ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko" <onechipore...@apache.org>
Subject Review Request 19131: Start all services silently fails when a service is not startable
Date Wed, 12 Mar 2014 16:31:14 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message