[ 
https://issues.apache.org/jira/browse/FALCON-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107196#comment-14107196
 ] 

Balu Vellanki commented on FALCON-303:
--------------------------------------

https://issues.apache.org/jira/browse/FALCON-470 resolved Falcon 303.  User can 
limit the number of returned instances by setting query param "numResults", 
user can implement pagination by setting "offset" 

Example : curl -H 'Remote-User:username' 
http://localhost:15000/api/instance/status/process/SampleProcess?start=2012-04-03T07:00Z&offset=0&numResults=10
  would return first 10 instances. 

> Ability to limit the result set on the "instances status" call
> --------------------------------------------------------------
>
>                 Key: FALCON-303
>                 URL: https://issues.apache.org/jira/browse/FALCON-303
>             Project: Falcon
>          Issue Type: Task
>            Reporter: Dmytro Sen
>            Assignee: Balu Vellanki
>         Attachments: FALCON-303+unittests.patch
>
>
> Response for the call below sometimes can return tons of information. 
> {noformat}
> curl -H 'Remote-User:username' 
> 'http://host1:15000/api/instance/status/feed/test-replication?start=2013-10-24T00:00Z&end=2014-12-31T00:00Z'
>  
> {noformat}
> Falcon has the capability to filter by a time range, but for any time range 
> given, the number of results is unbounded. Add "limit" flag.



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

Reply via email to