Fix hadoop 0.23.9 compatibility

Merge pull request #268 from sundeepn/hadoop2

Fix hadoop 0.23.9 compatibility
(cherry picked from commit a60f1c9b2b03ba3133855ea83582383aa2072596)

Signed-off-by: Reynold Xin <rxin@apache.org>

Conflicts:
	project/SharkBuild.scala