support Hadoop 2