Converted to Hadoop 2.2.0