Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Another Clojure-driven Combiner (with a histogram example)


Copy link to this message
-
Re: Another Clojure-driven Combiner (with a histogram example)
CLOJURE  :-D That's really cool!
On Thu, Jun 27, 2013 at 12:00 PM, Jamie Stephens <[EMAIL PROTECTED]> wrote:

> One more for this morning.
>
> A Clojure-driven, seq-based Combiner:
>
>   https://gist.github.com/jsmorph/5877553
>
> This combiner differs from
>
>   https://github.com/charlessimpson/clojure-accumulo-iterators
>
> in that this combiner delegates the iteration to the Clojure code.
>
> For example, give the combiner the following Clojure code
>
>   https://gist.github.com/jsmorph/5877553#file-histogram-clj
>
> and you can then do
>
> foo> insert b c x a
> foo> insert b c x b
> foo> insert b c x b
> foo> insert b c x c
> foo> insert b c x c
> foo> insert b c x c
> foo> insert b c x c
> foo> insert b c x d
>  foo> scan
> b c:x []    a,1;b,2;c,4;d,1
>
>
> As usual, fixes and suggestions appreciated.
>
> --Jamie
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB