fixes #1

updated to use HadoopCompat, so that the code works with Hadoop 1 + 2