You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/02/28 17:23:04 UTC

[jira] [Created] (AMBARI-9848) Alerts Need HA Mode Dynamic Property Support For WEB and METRIC

Jonathan Hurley created AMBARI-9848:
---------------------------------------

             Summary: 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


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)