Chris mildebrandt created AMBARI-4023:
-----------------------------------------

             Summary: Server returns HTTP 200 on certain operations when the 
agent is no longer running
                 Key: AMBARI-4023
                 URL: https://issues.apache.org/jira/browse/AMBARI-4023
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.4.1
         Environment: CentOS 6.4
            Reporter: Chris mildebrandt


An agent on one of my machines died. When I tried to use the REST services to 
start a host component, the service returned an HTTP code of 200. Though 
nothing has been done since the agent has lost connection. Here are the 
relevant server log entries:

12:24:02,319  WARN [Thread-2] HeartbeatMonitor:123 - Heartbeat lost from host 
hadoop5.robinsystems.com
12:24:04,686  INFO [qtp1340276317-184] AmbariLocalUserDetailsService:62 - 
Loading user by name: admin
12:24:04,690  INFO [qtp1340276317-184] AmbariManagementControllerImpl:3123 - 
Received a updateHostComponent request, clusterName=cl1, serviceName=GANGLIA, 
componentName=GANGLIA_MONITOR, hostname=hadoop5.robinsystems.com, request={ 
clusterName=cl1, serviceName=GANGLIA, componentName=GANGLIA_MONITOR, 
hostname=hadoop5.robinsystems.com, desiredState=INSTALLED, desiredStackId=null} 
 
12:24:04,694  INFO [qtp1340276317-184] AmbariManagementControllerImpl:2040 - 
Command is not created for servicecomponenthost , clusterName=cl1, clusterId=2, 
serviceName=GANGLIA, componentName=GANGLIA_MONITOR, 
hostname=hadoop5.robinsystems.com, hostState=HEARTBEAT_LOST, 
targetNewState=INSTALLED  
12:24:08,966  INFO [Thread-22] ActionScheduler:309 - 
Host:hadoop5.robinsystems.com, role:GANGLIA_MONITOR, actionId:8-1 timed out  

I would expect an error since it's unable to perform the operation.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to