hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gagandeep Singh <gagandeep.si...@paxcel.net>
Subject Re: Running HBase Junit Testcases on local machine
Date Sat, 24 Jul 2010 05:39:53 GMT
Yes I understand that they don't belong to same family. May be I was trying
to be over smart :)

Primarily, I am evaluating HBase for one of my client. Though I was able to
generate simple test scenario using HBase API's but in order to go through
more complex scenarios I was studying HBase code and Junit testcases and
while studying them I thought whether I can use them somehow to run on my
cluster setup.

@Stack - I looked at the code org.apache.hadoop.hdfs.MiniDFSCluster code and
it seems they have hard-coded localhost inside the code. I think I need to
substitute that code.


On Sat, Jul 24, 2010 at 6:39 AM, Ryan Rawson <ryanobjc@gmail.com> wrote:

> Unfortunately "unit tests" and "remote cluster" dont belong in the
> same sentence :-)
> what exactly were you thinking of?
> On Fri, Jul 23, 2010 at 2:23 PM, Stack <stack@duboce.net> wrote:
> > On Fri, Jul 23, 2010 at 11:11 AM, Gagandeep Singh
> > <gagandeep.singh@paxcel.net> wrote:
> >> Do I need to make changes in any other configuration files.
> >
> > You cannot configure it to run tests against a remote cluster.  You'd
> > have to change code to make that work.  Study any test.  See how in
> > setup, they'll go ahead an put up a mini*cluster first.  Thats the bit
> > you'd need to change adding a flag of some sort that said use remote
> > cluster instead of staring own locally.
> >
> > St.Ack
> >

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