ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9848) Alerts Need HA Mode Dynamic Property Support For WEB and METRIC
Date Mon, 02 Mar 2015 16:02:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343303#comment-14343303
] 

Hudson commented on AMBARI-9848:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1917 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1917/])
AMBARI-9848 - Alerts Need HA Mode Dynamic Property Support For WEB and METRIC (jonathanhurley)
(jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7607fc1e5ccea98f068a7e26b188154db0b003ca)
* ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertUri.java
* ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/alerts.json
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py


> 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)

Mime
View raw message