Update dependency to hadoop 2.4

This avoids an UnknownHostExecption caused in travis.

See travis-ci/travis-ci#issues/2970.