ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-14812) Alerts API Does Not Honor JPA Sorting
Date Wed, 27 Jan 2016 14:57:40 GMT
Jonathan Hurley created AMBARI-14812:

             Summary: Alerts API Does Not Honor JPA Sorting
                 Key: AMBARI-14812
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
             Fix For: 2.2.2

Sorted API requests to the alerts endpoint results in data which is not sorted at all. Consider
this query:


The data is returned out of order. This is because the JPA sort is being placed into a {{HashSet}}
instead of a {{LinkedHashSet}}.

This message was sent by Atlassian JIRA

View raw message