added support for hadoop 2.4 version