You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "zhangjinlong (JIRA)" <ji...@apache.org> on 2014/12/15 08:53:13 UTC
[jira] [Reopened] (STORM-592) Update stats.clj "rolling-window-set"
function, exchange the real argument "num-buckets" and "s" of
"rolling-window" function
[ 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)