You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/09/27 21:53:00 UTC

[jira] [Commented] (AMBARI-24669) Component status can stuck in starting/stopping status on heartbeat lost

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

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

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10167 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10167/])
AMBARI-24669. Component status can stuck in starting/stopping status on (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=f7008b3dfe9f05ab50a8e25113f465e800d35886])
* (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/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog280Test.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog280.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog270Test.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatMonitor.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


> 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.8.0
>
>          Time Spent: 40m
>  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)