mapred.job.tracker localhost:8021 mapreduce.framework.name yarn To set the value of tmp directory for map and reduce tasks. mapreduce.task.tmp.dir /var/cache/hadoop-mapreduce/${user.name}/tasks