falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pavan kumar kolamuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1071) Feed Listing API default behaviour for start and end not handled properly.
Date Tue, 17 Mar 2015 13:35:38 GMT

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

pavan kumar kolamuri commented on FALCON-1071:
----------------------------------------------

-        TimeZone timeZone = TimeZone.getTimeZone("UTC");

Is this intentionally removed ? Otherwise patch looks good  +1 .

> Feed Listing API default behaviour for start and end not handled properly. 
> ---------------------------------------------------------------------------
>
>                 Key: FALCON-1071
>                 URL: https://issues.apache.org/jira/browse/FALCON-1071
>             Project: Falcon
>          Issue Type: Improvement
>          Components: feed
>    Affects Versions: trunk
>         Environment: QA
>            Reporter: Karishma Gulati
>            Assignee: Suhas Vasu
>         Attachments: FALCON-1071-v2.patch, FALCON-1071-v3.patch, FALCON-1071.patch
>
>
> The default values of start and end, in case they aren't specified are as follows:
> {code}
> start <optional param> 
>     By default, it is set to (end - (10 * entityFrequency)).
> end <optional param> 
>     Default is set to now.
> {code}
> So, when only start is specified, it still takes the default value of end as now. Therefore,
if a start time of say 2012 is specified, the output will be a massive 3 years worth instance
information. If just start is specified, we can probably take the default value of end as
start + (10*frequency), as is for the vice versa case. 



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

Mime
View raw message