Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Alerts for services that support a standard HA mode (nameservice and/or alias) need to be able to understand how to calculate the correct server to contact. This means building a dynamic key to use when discovering the URL to use for METRIC and WEB alerts.
The proposal is to add a new child element to the URL parameter:
"high_availability": { "nameservice": "{{hdfs-site/dfs.nameservices}}", "alias_key" : "{{hdfs-site/dfs.ha.namenodes.{{ha-nameservice}}}}", "http_pattern" : "{{hdfs-site/dfs.namenode.http-address.{{ha-nameservice}}.{{alias}}}}", "https_pattern" : "{{hdfs-site/dfs.namenode.https-address.{{ha-nameservice}}.{{alias}}}}"
Attachments
Attachments
Issue Links
- links to