Re: HBase test utility (HBaseTestingUtility)

2020-03-17 Thread Bharath Vissapragada
What version of HBase? We noticed similar issues when using non-loopback
addresses for various dependencies, especially ZK (HBASE-23764
, HBASE-23919
, HBASE-23993
 etc). You should see
some symptoms in the logs (and often times stack traces about timing out ZK
connections) if this is the case. Did you already try this?

On Tue, Mar 17, 2020 at 9:06 AM Kirill Yankov 
wrote:

> Hello everyone!
>
> I need your expertise. I am currently doing integration tests with HBase
> and I am using HBaseTestingUtility. But the startup of the mini cluster is
> very slow (it takes about 300 seconds).
>
> I just do:
>
> HBaseTestingUtility hbaseUtil = new HBaseTestingUtility();
> MiniHBaseCluster cluster = hbaseUtil.startMiniCluster(1);
>
> Do you think it is normal behaviour. Maybe I am doing something wrong?
> Maybe you know any way to make it faster?
>
> Kind regards,
> Kirill Yankov.
>
>
>
>
>
>


HBase test utility (HBaseTestingUtility)

2020-03-17 Thread Kirill Yankov
Hello everyone! 

I need your expertise. I am currently doing integration tests with HBase and I 
am using HBaseTestingUtility. But the startup of the mini cluster is very slow 
(it takes about 300 seconds). 

I just do:

HBaseTestingUtility hbaseUtil = new HBaseTestingUtility();
MiniHBaseCluster cluster = hbaseUtil.startMiniCluster(1);

Do you think it is normal behaviour. Maybe I am doing something wrong? Maybe 
you know any way to make it faster? 

Kind regards,
Kirill Yankov.