Hi, I am sorry for the late response. Gian is correct, this extension is
restricted to the broker service and will throw an error in the log for
other services.

(As mentioned here:
https://github.com/apache/druid/blob/master/docs/development/extensions-contrib/moving-average-query.md#operations
).

On Wed, Apr 29, 2020 at 10:25 PM Gian Merlino <g...@apache.org> wrote:

> Hey Damiano,
>
> This is a contrib extension so you might get limited support for it here.
>
> That being said, at first, I suggest looking through the logs mentioned by
> the supervise errors (like
> /home/damiano/druid/0.17.1/var/sv/coordinator-overlord.log). IIRC you might
> need to disable the extension on those server types. You could do it by
> putting a separate druid.extensions.loadList in the server-type-specific
> runtime properties.
>
> On Mon, Apr 20, 2020 at 4:12 AM Damiano Porta <damianopo...@gmail.com>
> wrote:
>
> > Hello,
> >
> > I am trying to use the window-function extension
> > (druid-moving-average-query), but i am getting the following error:
> > (using 0.17.1 ver.)
> >
> > [Mon Apr 20 13:27:21 2020] Running command[broker], logging
> > to[/home/damiano/druid/0.17.1/var/sv/broker.log]: bin/run-druid broker
> > conf/druid/single-server/micro-quickstart
> > [Mon Apr 20 13:27:21 2020] Running command[router], logging
> > to[/home/damiano/druid/0.17.1/var/sv/router.log]: bin/run-druid router
> > conf/druid/single-server/micro-quickstart
> > [Mon Apr 20 13:27:21 2020] Running command[historical], logging
> > to[/home/damiano/druid/0.17.1/var/sv/historical.log]: bin/run-druid
> > historical conf/druid/single-server/micro-quickstart
> > [Mon Apr 20 13:27:21 2020] Running command[middleManager], logging
> > to[/home/damiano/druid/0.17.1/var/sv/middleManager.log]: bin/run-druid
> > middleManager conf/druid/single-server/micro-quickstart
> > [Mon Apr 20 13:27:27 2020] Command[coordinator-overlord] exited (pid =
> > 6734, exited = 1)
> > [Mon Apr 20 13:27:27 2020] Command[coordinator-overlord] failed, see
> > logfile for more details:
> > /home/damiano/druid/0.17.1/var/sv/coordinator-overlord.log
> > [Mon Apr 20 13:27:27 2020] Command[router] exited (pid = 6736, exited =
> 1)
> > [Mon Apr 20 13:27:27 2020] Command[router] failed, see logfile for more
> > details: /home/damiano/druid/0.17.1/var/sv/router.log
> > [Mon Apr 20 13:27:27 2020] Command[middleManager] exited (pid = 6738,
> > exited = 1)
> > [Mon Apr 20 13:27:27 2020] Command[middleManager] failed, see logfile
> > for more details: /home/damiano/druid/0.17.1/var/sv/middleManager.log
> > [Mon Apr 20 13:27:30 2020] Running command[coordinator-overlord],
> > logging to[/home/damiano/druid/0.17.1/var/sv/coordinator-overlord.log]:
> > bin/run-druid coordinator-overlord
> > conf/druid/single-server/micro-quickstart
> >
> > I have documents with this format:
> >
> > {"stra_id": long, "amount": long}
> >
> > i would like to aggregate such documents by doing a cumulative sum
> > (running sum) over the documents instead of just getting the value of
> > the total absolute sum?
> >
> > Is it possible?
> >
> > Thank you in advance
> >
> > Damiano
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@druid.apache.org
> > For additional commands, e-mail: dev-h...@druid.apache.org
> >
> >
>

Reply via email to