You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2014/04/24 16:15:17 UTC

[jira] [Resolved] (AMBARI-5546) Call for requests with 'page_size' always return 10 most recent

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

Dmytro Sen resolved AMBARI-5546.
--------------------------------

    Resolution: Fixed

Committed to trunk

> Call for requests with 'page_size' always return 10 most recent
> ---------------------------------------------------------------
>
>                 Key: AMBARI-5546
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5546
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 1.6.1
>
>
> Problem:
> Call: /api/v1/clusters/cl1/requests?to=end&page_size=20
> Actually result: return most recent 10 requests
> Expected result: return most recent 20 requests.
> Call: /api/v1/clusters/cl1/requests?from=start&page_size=3
> Actually result: return first 3 requests started from the first in most recent 10
> Expected result: return first 3 requests started from the very first('install services')
> In this case, we can never get history requests made before most recent 10.



--
This message was sent by Atlassian JIRA
(v6.2#6252)