Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Why /tmp directory?

Copy link to this message
Re: Why /tmp directory?
You would get "org.apache.hadoop.util.DiskChecker$DiskErrorException:
Could not find any valid local directory" if there is no space left on
disk to accomodate the file.


akhil1988 wrote:
> Hi All,
> I want to know why do we generally use tmp directory(and not any other) for
> storing hdfs data, knowing the fact that tmp directory is used for storing
> only temporary data?
> I was wondering this because when I run a Hbase job on large data, I get
> this DiskErrorExcpetion:
>  org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any
> valid local directory for
> taskTracker/jobcache/job_200904072051_0001/attempt_200904072051_0001_m_000000_1/output/file.out
> Please, excuse if this is a naive question.
> --Akhil