Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Writing unit tests against HBase


Copy link to this message
-
Re: Writing unit tests against HBase
Thanks for the link - I am gonna give this a try. Would certainly be
helpful if it works well. I know that in some of the Hbase unit tests - we
are able to create HRegions, add/delete values from them but I could not
find testing stuff for HTable which the application layer(s) deal with etc.

Varun
On Tue, Jun 18, 2013 at 4:22 PM, Stack <[EMAIL PROTECTED]> wrote:

> On Tue, Jun 18, 2013 at 4:17 PM, Varun Sharma <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > If I wanted to write to write a unit test against HTable/HBase, is there
> an
> > already available utility to that for unit testing my application logic.
> >
> > I don't want to write code that either touches production or requires me
> to
> > mock an HTable. I am looking for a test htable object which behaves
> pretty
> > close to a real HTable.
> >
>
>
> Would this help if we included it?
> https://github.com/kijiproject/fake-hbase/
>
> St.Ack
>