HBase and unit tests

2012-08-30 Thread Cristofer Weber
Hi there! After I started studying HBase, I've searched for open source projects backed by HBase and I found Titan distributed graph database (you probably heard about it). As soon as I read in their documentation that HBase adapter is experimental and suboptimal (disclaimer here: https://gith

Re: HBase and unit tests

2012-08-30 Thread Sonal Goyal
Hi Cristofer, Are you using some specific configs with the MiniCluster? We are using HBaseTestingUtility and have a reasonable test run time. You can check https://github.com/sonalgoyal/crux/blob/master/src/test/java/co/nubetech/crux/server/TestHBaseFacade.java Best Regards, Sonal Crux: Reportin

Re: HBase and unit tests

2012-08-30 Thread Stack
On Thu, Aug 30, 2012 at 4:44 PM, Cristofer Weber wrote: > Hi there! > > After I started studying HBase, I've searched for open source projects backed > by HBase and I found Titan distributed graph database (you probably heard > about it). As soon as I read in their documentation that HBase adapt

Re: HBase and unit tests

2012-08-30 Thread Ulrich Staudinger
As a general advice, although you probably do take care of this, instantiate the mini cluster only once in your junit test constructor and not in every test method. at the end of each test, either cleanup your hbase or use a different "area" per test. best regards, ulrich -- connect on xing or l

RES: HBase and unit tests

2012-08-31 Thread Cristofer Weber
audin...@gmail.com] Enviado: sexta-feira, 31 de agosto de 2012 2:21 Para: user@hbase.apache.org Assunto: Re: HBase and unit tests As a general advice, although you probably do take care of this, instantiate the mini cluster only once in your junit test constructor and not in every test method. at the e

Re: HBase and unit tests

2012-08-31 Thread n keywal
h Staudinger [ustaudin...@gmail.com] > Enviado: sexta-feira, 31 de agosto de 2012 2:21 > Para: user@hbase.apache.org > Assunto: Re: HBase and unit tests > > As a general advice, although you probably do take care of this, > instantiate the mini cluster only once in your junit test constru

Re: HBase and unit tests

2012-08-31 Thread Ulrich Staudinger
egards, > Cristofer > > > De: Ulrich Staudinger [ustaudin...@gmail.com] > Enviado: sexta-feira, 31 de agosto de 2012 2:21 > Para: user@hbase.apache.org > Assunto: Re: HBase and unit tests > > As a general advice, although you probably do

RES: HBase and unit tests

2012-08-31 Thread Cristofer Weber
:nkey...@gmail.com] Enviada em: sexta-feira, 31 de agosto de 2012 07:59 Para: user@hbase.apache.org Assunto: Re: HBase and unit tests Hi Cristopher, HBase starts a minicluster for many of its tests because we have a lot of destructive tests. Or the non destructive tests would be impacted by the destru

RES: HBase and unit tests

2012-08-31 Thread Cristofer Weber
viada em: sexta-feira, 31 de agosto de 2012 08:05 Para: user@hbase.apache.org Assunto: Re: HBase and unit tests Hi Cristofer, > At least 15 seconds are spent on starting the mini cluster for each > test case. and you are sure that you are reusing your mini cluster across unit tests? H

Re: HBase and unit tests

2012-08-31 Thread n keywal
On Fri, Aug 31, 2012 at 2:33 PM, Cristofer Weber < cristofer.we...@neogrid.com> wrote: > For the other adapters (Cassandra, Cassandra + Thrift, Cassandra + > Astyanax, etc) they managed to run tests as Internal and External for unit > tests and also have a profile for Performance and Concurrent te