YUBI LEE created AMBARI-26614:
---------------------------------
Summary: Config and config-group changes are slow to propagate to
agents on large clusters
Key: AMBARI-26614
URL: https://issues.apache.org/jira/browse/AMBARI-26614
Project: Ambari
Issue Type: Improvement
Components: ambari-server
Reporter: YUBI LEE
Assignee: YUBI LEE
On large clusters a config or config-group change is slow and pushes config to
every host, even when only a few config-group member hosts are
affected. {{ConfigHelper.updateAgentConfigs}} recomputes per-host config for
all hosts, sequentially, and redundantly.
Changes:
- Scope config-group create/update to affected member hosts (prev + new).
- Cache {{Cluster#getDesiredConfigs}} per batch instead of per host.
- Parallelize per-host recomputation on the existing {{ThreadPools}} pool.
- Drop unnecessary payload sorting; look up config groups by host id.
- Remove the leftover config-name unescaping introduced by AMBARI-23463 — that
change added an escape/unescape pair, AMBARI-23538 later removed the escaping
half, so the remaining unescaping half rebuilds the config map for every host
for nothing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]