hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik K <oss....@gmail.com>
Subject Re: Unit Test: HBase Map/Reduce
Date Thu, 22 Apr 2010 02:03:40 GMT
On Mon, Apr 19, 2010 at 10:55 AM, Renaud Delbru <renaud.delbru@deri.org>wrote:

 Also, do someone have some advices/examples on how to write and run unit
> tests involving hbase ?
>

Specifically about this - I found HBaseTestingUtility very useful, available
in trunk (backported to 0.20.5+ as well, I guess).  For PE and testing race
conditions, I used to startMiniCluster( > 1), but for most part of unit
testing the logic and the protocol , startMiniCluster(1) seems to fair and
fast way to reproduce the given case.

Also - the class is amenable to embeddable in other testing frameworks ,
(say testng) , as well.




> Thanks,
> Regards
> --
> Renaud Delbru
>

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