mapreduce ENOENT: No such file or directory异常

Error initializing attempt_201202221208_0010_m_000018_0:
ENOENT: No such file or directory
	at org.apache.hadoop.io.nativeio.NativeIO.chmod(Native Method)
	at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:496)
	at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:319)
	at org.apache.hadoop.mapred.JobLocalizer.initializeJobLogDir(JobLocalizer.java:240)
	at org.apache.hadoop.mapred.DefaultTaskController.initializeJob(DefaultTaskController.java:212)
	at org.apache.hadoop.mapred.TaskTracker$4.run(TaskTracker.java:1208)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
	at org.apache.hadoop.mapred.TaskTracker.initializeJob(TaskTracker.java:1183)
	at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:1098)
	at org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:2271)
	at org.apac
 
 
出现这个问题的可能原因:
1,这个目录是真的不存在
2,这个目录存在了,但是操作权限被改变了
3,这个目录存在了,操作权限也没问题,但是空间已经满了。目前碰到了这个exception,查看空间是日志空间满了,然后清理完日志空间,没再出现这个问题,
后续继续跟踪问题原因。

你可能感兴趣的:(mapreduce,exception,File)