Fix to run hadoop-consumer with hadoop 2