hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Shin <kevin.s...@thinkbiganalytics.com>
Subject Re: Testing Coprocessor Methods postSplit() and postWALRestore()
Date Thu, 02 Aug 2012 18:19:57 GMT
Using HBase 0.92.1 and the unit test is using HBaseTestingUtility and
creating mini clusters for testing. Thanks!

On Thu, Aug 2, 2012 at 11:17 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> What version of HBase are you using ?
>
> Thanks
>
> On Thu, Aug 2, 2012 at 11:01 AM, Kevin Shin <
> kevin.shin@thinkbiganalytics.com> wrote:
>
> > Hi everyone,
> >
> > I'm working on building unit tests for a Coprocessor class I'm building
> > with HBase for a Lucene search index.
> > In writing the unit tests, I can't seem to figure out how to call/test
> > postSplit() and postWALRestore() from the HBase API.
> > Specifically, all of the implementations of splitting a region I've run
> > into have been asynchronous and do not complete (I test with a while loop
> > checking for increased number of regions)
> > and I can't think of a way to crash and bring up an HBase Region (Only
> > close and open, not reopen). If there are classes to create synchronous
> > splits and crash/reopen an HBase Region, would greatly appreciate the
> > advice. Thanks!
> >
> > Cheers,
> > Kevin
> >
>

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