HADOOP-5170. Allows jobs to set max maps/reduces per-node and per-cluster. Contributed by Matei Zaharia.