[
https://issues.apache.org/jira/browse/AMBARI-22236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Magyar updated AMBARI-22236:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Expression parser support for JMXServerSide alerts
> --------------------------------------------------
>
> Key: AMBARI-22236
> URL: https://issues.apache.org/jira/browse/AMBARI-22236
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 3.0.0
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: AMBARI-22236.patch
>
>
> Many existing JMX alerts use expressions like
> {code}
> "jmx": {
> "property_list": [
> "Hadoop:service=NameNode,name=FSNamesystemState/CapacityUsed",
>
> "Hadoop:service=NameNode,name=FSNamesystemState/CapacityRemaining"
> ],
> "value": "{0}/({0} + {1}) * 100.0"
> }
> {code}
> JMXServerSide alert should be able to evaluate these expressions in a secure
> and safe way.
> Supported operators: +,-,*,/,(,)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)