[ 
https://issues.apache.org/jira/browse/AMBARI-24669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665171#comment-16665171
 ] 

Hudson commented on AMBARI-24669:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #385 (See 
[https://builds.apache.org/job/Ambari-branch-2.7/385/])
AMBARI-24669. Component status can stuck in starting/stopping status on 
(github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=95bc266a0c4853234ecfd62cd7a7b9e6076447ed])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatMonitor.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentHost.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog270.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog272.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog270Test.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog272Test.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java


> Component status can stuck in starting/stopping status on heartbeat lost
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-24669
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24669
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Myroslav Papirkovskyi
>            Assignee: Myroslav Papirkovskyi
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.3
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Now server sets components statuses to UNKNOWN and saves last actual state on 
> heartbeat lost. After agent re-registering server restores saved state, but 
> in case "in progress" state request is already aborted and agent status 
> updates can not be applied. Agent should always send component statuses after 
> registering, not only on status changes. Also last actual state logic should 
> be removed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to