You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Daniel Gergely (JIRA)" <ji...@apache.org> on 2016/01/29 11:13:39 UTC

[jira] [Created] (AMBARI-14841) Filtering hosts with alerts by name gives incorrect results

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)