Added a general-purpose num-cores.sh to determine the number of cores on the executing machine, then used that to override defaults in mapred-site.xml via hadoop-local-conf.sh