Fix hadoop 0.23.9 compatibility
Merge pull request #268 from sundeepn/hadoop2

Fix hadoop 0.23.9 compatibility