hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Nikitchenko <ro...@nikitchenko.dp.ua>
Subject Re: testing co-processors
Date Wed, 29 Jan 2014 12:24:11 GMT
My approach (with maven) is the following:
1. Co-processors package is built as separate artifact and they are tested
in context of another module as part of integration testing.
2. Module is built with co-processor package placed with dependency plugin.
It's location is passed to test through system property and failsafe plugin.
3. Test setups HBase mini-cluster. Here is good article:
4. Of course I need to place co-processors to HDFS first and then create
tables that use them as region observer.
5. For master co-processor check appropriate tests in HBase itself. They
extend root co-processor to test it. I have implemented the same approach.

Good luck to you!

On 29 January 2014 09:19, Joshi, Rekha <Rekha_Joshi@intuit.com> wrote:

> Use o.a.h.hbase.HBaseTestingUtility You will find a sample usage in
> hbase-examples.
> Thanks
> Rekha
> On 29/01/14 11:53 AM, "Sujee Maniyam" <sujee@sujee.net> wrote:
> >Hi all,
> >
> >I am looking for a way to test co-processors.  Some thing similar to
> >mrunit.
> >is there a mock framework in hbase that I can use?
> >
> >thanks in advance.
> >Sujee Maniyam (http://sujee.net)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message