Stop yarn/mapred before hdfs, incase job is running
Support Hadoop 2.2.0 changes in yarn-site.xml configuration.
Remove previous runs of terasort files if they linger due to prior job failure