Building HBase native client

The HBase native client build using buck and produces a linux library.

Dependencies

The easiest way to build hbase-native-client is to use Docker. This will mean that any platform with docker can be used to build the hbase-native-client. It will also mean that you're building with the same versions of all dependencies that the client is tested with.

On OSX the current boot2docker solution will work however it's pretty slow. If things get too slow using dinghy can help speed things up by using nfs.

If possible pairing virtual box with dinghy will result in the fastest, most stable docker environment. However none of it is needed.

Building using docker

To start with make sure that you have built the java project using mvn package -DskipTests. That will allow all tests to spin up a standalone hbase instance from the jar's created.

Then go into the hbase-native-client directory and run ./bin/start-docker.sh that will build the docker development environment and when complete will drop you into a shell on a linux vm with all the tools needed installed.

CMake

cmake .
make
make install