ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-5051) Start all services silently fails when a service is not startable
Date Wed, 12 Mar 2014 16:19:43 GMT
Oleg Nechiporenko created AMBARI-5051:
-----------------------------------------

             Summary: Start all services silently fails when a service is not startable
                 Key: AMBARI-5051
                 URL: https://issues.apache.org/jira/browse/AMBARI-5051
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.0
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 1.5.0


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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message