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
integration.
I am using this with junit and it works very well. But I am using Java
only.

Best regards,
Mahmoud Parsian


On 3/13/16, 11:52 PM, "Nkechi Achara" <[email protected]> wrote:

>Hi,
>
>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?
>
>Thanks,
>
>Keech

Reply via email to