[ https://issues.apache.org/jira/browse/AMBARI-20851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985373#comment-15985373 ]
Hudson commented on AMBARI-20851: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7358 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7358/]) AMBARI-20851 - Provide Alert For Component OUT_OF_SYNC Issues (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6a0b2a0e2be6901b13db0787fa70ff98905b19da]) * (add) ambari-server/src/test/java/org/apache/ambari/server/alerts/ComponentVersionAlertRunnableTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/alerts/AlertRunnable.java * (add) ambari-server/src/main/java/org/apache/ambari/server/alerts/ComponentVersionAlertRunnable.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/metadata/AgentAlertDefinitionsTest.java * (edit) ambari-server/src/main/resources/alerts.json > Provide Alert For Component OUT_OF_SYNC Issues > ---------------------------------------------- > > Key: AMBARI-20851 > URL: https://issues.apache.org/jira/browse/AMBARI-20851 > Project: Ambari > Issue Type: Task > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Critical > Fix For: 2.5.1 > > Attachments: AMBARI-20851.patch > > > Components can become {{OUT_OF_SYNC}} before and after stack upgrades. As a > result, this can affect the success of future upgrade attempts. It seems > wrong to expose a direct way to alter this state since it's calculated from > the agents. > - The logic currently for reporting component versions is as follows: > -- On an agent's initial heartbeat registration, status commands will report > component versions. Subsequent status commands will not. > -- On any START/STOP/RESTART, the component will report a version > This means that if a host is {{OUT_OF_SYNC}} there are two ways to > automatically fix it (assuming the cluster is properly upgraded) > - Restart the agent on that host > - Restart the components which are {{OUT_OF_SYNC}} on that host > It would be good to notify the cluster administrator that there is a problem > with the reported version of the components. -- This message was sent by Atlassian JIRA (v6.3.15#6346)