Update dependency to hadoop 2.4

This avoids an UnknownHostExecption caused in travis.