hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jian yi <ejian.em...@gmail.com>
Subject FileNotFoundException in RawLocalFileSystem.getFileStatus
Date Thu, 04 Feb 2010 14:03:32 GMT
Hi,

Many people meet the following FileNotFoundException  error:

*userlog:*
2010-02-03 11:00:55,828 WARN org.apache.hadoop.mapred.TaskTracker: Error
running child
java.io.FileNotFoundException: File
D:/hadoop/mapred-local-dir/taskTracker/jobcache/job_201002031044_0007/attempt_201002031044_0007_m_000002_1/work/tmp
does not exist.
at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus
(RawLocalFileSystem.java:361)
at
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:245)
at org.apache.hadoop.mapred.TaskRunner.setupWorkDir(TaskRunner.java:519)
at org.apache.hadoop.mapred.Child.main(Child.java:155)
2010-02-03 11:00:55,875 INFO org.apache.hadoop.mapred.TaskRunner: Runnning
cleanup for the task
2010-02-03 11:00:55,875 INFO org.apache.hadoop.mapred.TaskTracker: Error
cleaning upjava.lang.NullPointerExceptio

The work directory can be created automatically, but its sub directory tmp
is not found.
By changing mapred.child.tmp from the default (./tmp) to a local directory
(such as D:/hadoop/tmp), the problem can be solved.


*Cases posts:*
http://bbs.hadoopor.com/thread-487-1-1.html
http://bbs.hadoopor.com/thread-415-1-1.html
http://d.hatena.ne.jp/skalabe/20100127/1264561157

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message