How to run TopK.java

84 views
Skip to first unread message

lekkaladi...@gmail.com

unread,
Apr 19, 2016, 8:36:09 AM4/19/16
to stream-lib-user
Can someone tell how to run TopK on a file x.txt?

Matt Abrams

unread,
Apr 20, 2016, 8:27:36 AM4/20/16
to stream-...@googlegroups.com
The easiest way is to use the script located in the bin directory of
the project. So from project root:

cat x.txt | ./bin/topk

Should see results like:

"""
item count error

---- ----- -----

foo 2 0

bar 1 0


Item count: 3
"""

Make sure to check out latest version of source code from the repo,
there was a small bug in the script.

Thanks,
matt


On Tue, Apr 19, 2016 at 12:18 AM, <lekkaladi...@gmail.com> wrote:
> Can someone tell how to run TopK on a file x.txt?
>
> --
> You received this message because you are subscribed to the Google Groups
> "stream-lib-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to stream-lib-us...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages