incubator-accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Debugging an aggregator
Date Fri, 10 Feb 2012 00:04:54 GMT
On Thu, Feb 9, 2012 at 6:56 PM, Keith Turner <keith@deenlo.com> wrote:
> You can use Mock Accumulo to test iterators and aggregators in unit test.
>
> Look at  org.apache.accumulo.core.client.mock.MockConnectorTest.testAggregation()
> in src/core/src/test/java/ for an example.
>
> Mock Accumulo was first introduced in 1.3.  Its a little rough around
> the edges in 1.3, its more mature in 1.4.  I think it will meet your
> needs, but let us know if you run into issues.
>
> If you are writing code that runs against a live instance, you can use
> connector.tableOperations() to setup and configure Aggregators.

Eventually I'll need that, I think. Off to read.

>
> On Thu, Feb 9, 2012 at 5:55 PM, Benson Margulies <bimargulies@gmail.com> wrote:
>> I've been running my first few trivial programs by just running them
>> in Eclipse. (They are just writing.) It seems to me that I'll never
>> get away with this once I create an aggregator. What's the drill?

Mime
View raw message