You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Bing Li <lb...@gmail.com> on 2012/02/06 21:34:50 UTC

How to Set the Value of hadoop.tmp.dir?

Dear all,

I am a new Hadoop learner. The version I used is 1.0.0.

I tried to set a new value for the parameter instead of /tmp,
hadoop.tmp.dir in core-site.xml, hdfs-site.xml and mapred-site.xml. Do I
need to do that in all the above xmls?

However, when I execute the format command, I was asked if I need to
reformat filesystem in /tmp/hadoop-myname/dfs/name. Why is the path still
/tmp?

Thanks,
Bing