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] [Created] (AMBARI-14841) Filtering hosts with alerts by name gives incorrect results
Date Fri, 29 Jan 2016 10:13:39 GMT
Daniel Gergely created AMBARI-14841:
---------------------------------------

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


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