[ 
https://issues.apache.org/jira/browse/AMBARI-9848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley resolved AMBARI-9848.
-------------------------------------
    Resolution: Fixed

> Alerts Need HA Mode Dynamic Property Support For WEB and METRIC
> ---------------------------------------------------------------
>
>                 Key: AMBARI-9848
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9848
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9848.patch
>
>
> 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:
> {code}
> "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}}}}"
> {code}



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

Reply via email to