accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Pastorelli <>
Subject Re: Testing Spark Job that uses the AccumuloInputFormat
Date Wed, 03 Aug 2016 20:57:53 GMT
I do run a single Mini instance for the entire test suite but I need to
destroy and recreate tables for each instance of each test.

Out of curiosity: am I doing a huge mistake in using MockInstance to test
Accumulo? Because right now I rely mainly on it.

On Wed, Aug 3, 2016 at 9:11 PM, Christopher <> wrote:

> On Wed, Aug 3, 2016 at 1:34 PM Mario Pastorelli <
>> wrote:
>> Do you guys know if it is possible to use MockInstance to test Spark
>> jobs? It's so much faster...
> Probably not. It's faster, but only by behaving very differently than
> Accumulo. It has also largely been neglected.
> To speed things up, it's best to run a single Mini instance with something
> like accumulo-maven-plugin, rather than start a new one for each test.

Mario Pastorelli | TERALYTICS

*software engineer*

Teralytics AG | Zollstrasse 62 | 8005 Zurich | Switzerland
phone: +41794381682

Company registration number: CH- | Trade register Canton
Board of directors: Georg Polzer, Luciano Franceschina, Mark Schmitz, Yann
de Vries

This e-mail message contains confidential information which is for the sole
attention and use of the intended recipient. Please notify us at once if
you think that it may not be intended for you and delete it immediately.

View raw message