build: compile test target for Apache Hadoop

Compile both examples and test targets
for Apache Hadoop

Signed-off-by: Joe Buck <jbbuck@gmail.com>
build: correcting Apache Hadoop build

Building the test jar without running
the tests.

Signed-off-by: Joe Buck <jbbuck@gmail.com>