modifications for hadoop-consumer to play nice with hadoop 2