Andrew Onischuk created AMBARI-12431:
----------------------------------------

             Summary: Optimization proposal: merge all status commands into one 
to optimize network bandwidth
                 Key: AMBARI-12431
                 URL: https://issues.apache.org/jira/browse/AMBARI-12431
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.2.0


As of now, both in python and at puppet status commands are created per-
component. All commands for host are created at once in a loop at
org.apache.ambari.server.agent.HeartbeatMonitor#generateStatusCommands . All
the difference between status commands is a component name and path to script.
So we may reduce number and summary size of commands by sending an entire list
of components in a single status command.  
I'm attaching a dump of a single heartbeat with status commands.

This should also include SECURITY_STATUS merging, which will help in terms of
and similar resolution





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to