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

zhangjinlong edited comment on STORM-592 at 12/15/14 8:33 AM:
--------------------------------------------------------------

exchange the real argument "num-buckets" and "s" of "rolling-window" function

https://github.com/BuDongDong/storm/commit/69af505fa002550e952129372ed88a298cea7fea


was (Author: zhangjinlong):
exchange the real argument "num-buckets" and "s" of "rolling-window" function

https://github.com/BuDongDong/storm/commit/785cda7a97877a25dac6fe96648f17ea42309ed7

> 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