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/08/08 11:47:00 UTC
[jira] [Commented] (AMBARI-24416) Component Versions Are Not
Reported On Initial Status Commands Anymore
[ https://issues.apache.org/jira/browse/AMBARI-24416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573079#comment-16573079 ]
Hudson commented on AMBARI-24416:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #116 (See [https://builds.apache.org/job/Ambari-branch-2.7/116/])
AMBARI-24416. Component Versions Are Not Reported On Initial Status (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=88e7148b192a37a131b0a11343b06de8cb5d8095])
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/ComponentStatusAgentReport.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/ComponentVersionAgentReport.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentReportsProcessor.java
* (add) ambari-agent/src/main/python/ambari_agent/ComponentVersionReporter.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentReport.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AgentReportsController.java
* (edit) ambari-agent/src/main/python/ambari_agent/models/commands.py
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/HostStatusAgentReport.java
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/dto/ComponentVersionReport.java
* (edit) ambari-common/src/main/python/resource_management/libraries/script/script.py
* (edit) ambari-agent/src/main/python/ambari_agent/Constants.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
* (edit) ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/dto/ComponentVersionReports.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatProcessor.java
* (edit) ambari-agent/src/main/python/ambari_agent/HeartbeatThread.py
* (add) ambari-server/src/main/java/org/apache/ambari/server/agent/CommandStatusAgentReport.java
> Component Versions Are Not Reported On Initial Status Commands Anymore
> ----------------------------------------------------------------------
>
> Key: AMBARI-24416
> URL: https://issues.apache.org/jira/browse/AMBARI-24416
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.1
>
> Attachments: AMBARI-24416.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> In Ambari 2.6, some status commands were able to supply the version of the
> component they were running for. This was needed especially during upgrades to
> correct situations where components would fail to start but the processes were
> actually running and reporting.
> * During heartbeat registration, Ambari asked the agent to get the version in the next status command:
> <https://github.com/apache/ambari/blob/branch-2.6/ambari-
> server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java#L416-L419>
> * The status command would place the version information from the structured out into the "extra" mapping, which would then be handled here via an event:
> <https://github.com/apache/ambari/blob/trunk/ambari-
> server/src/main/java/org/apache/ambari/server/agent/HeartbeatProcessor.java#L599-L603>
> We need to replace this functionality so that component versions are reported
> on registration of agents.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)