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

Daniel Gergely updated AMBARI-14841:
------------------------------------
    Attachment: AMBARI-14841.patch

> Filtering hosts with alerts by name gives incorrect results
> -----------------------------------------------------------
>
>                 Key: AMBARI-14841
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14841
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>            Reporter: Daniel Gergely
>            Assignee: Daniel Gergely
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14841.patch
>
>
> Filtering for hostnames in hosts with alerts is not working properly, it 
> returns all the hosts.
> The cause is the precedence in the request:
> alerts_summary/CRITICAL>0|alerts_summary/WARNING>0&Hosts/host_name.matches(.*200.*)
> is applied as:
> critical OR (warning AND match)
> but the correct way would be:
> (critical OR warning) AND match



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

Reply via email to