You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/03/13 14:25:38 UTC

[jira] [Resolved] (AMBARI-10052) Current Alerts Requests Should Honor Predicate Values For Performance On Large Cluster

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

Jonathan Hurley resolved AMBARI-10052.
--------------------------------------
    Resolution: Fixed

> Current Alerts Requests Should Honor Predicate Values For Performance On Large Cluster
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10052
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10052
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> When making a request for current alerts, if you want to restrict by an ID, such as the definition ID, it queries against all entities in the table:
> {{api/v1/clusters/perf400/alerts?fields=*&Alert/definition_id=9}}
> This can cause performance issues in large clusters. We should be using a JPA predicate here.



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