$MAPREDUCE is not defined here and thus mapreduce is not synced for Hadoop2.