您的位置:首页 > 运维架构

hadoop0.20.2:The temporary job-output directory doesn't exist!

2014-04-07 21:27 393 查看
java.io.IOException: The temporary job-output directory hdfs://localhost:9000/user/huojushou/weblog/log1_output/_temporary doesn't exist!

    at org.apache.hadoop.mapred.FileOutputCommitter.getWorkPath(FileOutputCommitter.java:204)

    at org.apache.hadoop.mapred.FileOutputFormat.getTaskOutputPath(FileOutputFormat.java:234)

    at org.apache.hadoop.mapred.TextOutputFormat.getRecordWriter(TextOutputFormat.java:119)

    at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:433)

    at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)

    at org.apache.hadoop.mapred.Child.main(Child.java:170)

14/04/07 20:54:56 INFO mapred.JobClient: Task Id : attempt_201404061820_0010_r_000001_0, Status : FAILED

 解决方法:关闭hadoop的safe模式 hadoop dfsadmin -safemode leave。

 原因:有可能是在执行mapreduce任务时强制退出,迫使namenode进入safe模式。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: