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

zhangjinlong reopened STORM-592:
--------------------------------

> Update stats.clj "rolling-window-set" function, exchange the real argument 
> "num-buckets" and "s" of "rolling-window" function
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STORM-592
>                 URL: https://issues.apache.org/jira/browse/STORM-592
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 0.9.3-rc2
>            Reporter: zhangjinlong
>            Assignee: zhangjinlong
>
> (defn rolling-window-set [updater merger extractor num-buckets & bucket-sizes]
>   (RollingWindowSet. updater extractor (dofor [s bucket-sizes] 
> (rolling-window updater merger extractor s num-buckets)) nil)
>   )
> (defrecord RollingWindow [updater merger extractor bucket-size-secs 
> num-buckets buckets]) 
> if not exchange the real argument ”num-buckets“ and "s" of “rolling-window” 
> function, then the "bucket-size-secs" of RollingWindow is 30/540/4320, and 
> the "num-buckets" of RollingWindow is 20
> I think that the "bucket-size-secs" of RollingWindow is 20, and the 
> "num-buckets" of RollingWindow is 30/540/4320.



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

Reply via email to