hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: cleaning up 'hadoop.tmp.dir' ?
Date Tue, 09 Nov 2010 15:05:55 GMT
On Tue, Nov 9, 2010 at 7:51 PM, Segel, Mike <msegel@navteq.com> wrote:
> That's actually a good point.
>
> I'm looking at it from the Unix admin point of view. Anything in /tmp is just that...
a temp file that you don't care about.
> (Although I think in Cloudera's CDH3 they store the PIDs in /tmp??? (Going from memory
and I'm still on my first cup of coffee.))
>

If am right, they set hadoop.tmp.dir to
/var/lib/hadoop/cache-something in their bundled configuration. This
is sufficient in moving all files that otherwise would go to /tmp, as
all defaults (like name dir, data dir, mapred/local, mapred/io, etc.)
use ${hadoop.tmp.dir}/ as their prefix.

-- 
Harsh J
www.harshj.com

Mime
View raw message