ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Gergely (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14841) Filtering hosts with alerts by name gives incorrect results
Date Fri, 29 Jan 2016 13:54:39 GMT

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

Daniel Gergely updated AMBARI-14841:
------------------------------------
    Description: 
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


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



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

Mime
View raw message