incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-862) API query against /clusters doesn't return any data
Date Mon, 15 Oct 2012 18:34:03 GMT
John Speidel created AMBARI-862:
-----------------------------------

             Summary: API query against /clusters doesn't return any data
                 Key: AMBARI-862
                 URL: https://issues.apache.org/jira/browse/AMBARI-862
             Project: Ambari
          Issue Type: Bug
            Reporter: John Speidel
            Assignee: John Speidel


Queries against /clusters don't return any data even if they should.
This is a result of how the query predicate is built.  Because clusters doesn't have a parent,
the internal query is null.  When the user predicate is combined with the internal predicate,
we weren't checking to see if the internal predicate is null.  This resulted in an AND predicate
with the user predicate and a null predicate.

This bug only affects /clusters queries as it is the only top level resource at this time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message