hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsian, Mahmoud" <mpars...@illumina.com>
Subject Re: Example of spinning up a Hbase mock style test for integration testing in scala
Date Mon, 14 Mar 2016 17:10:06 GMT
Hi Keech,

You may use the org.apache.hadoop.hbase.HBaseCommonTestingUtility class to
start a ZK, and an HBase cluster and then do your unit tests and
I am using this with junit and it works very well. But I am using Java

Best regards,
Mahmoud Parsian

On 3/13/16, 11:52 PM, "Nkechi Achara" <nkachara@googlemail.com> wrote:

>I am trying to find an example of how to spin up a Hbase server in a mock
>or integration style, so I can test my code locally in my IDE.
>I have tried fake-hbase and hbase testing utility and receive errors
>especially when trying to start the cluster.
>Has anyone got any examples in scala to do this?

View raw message