2023-06-10 06:10:14,356 INFO mapreduce.Job: Job job_1686300831839_0056 failed with state FAILED due to: Task failed task_1686300831839_0056_m_000001 Job failed as tasks failed. failedMaps:1 failedReduces:0 killedMaps:0 killedReduces: 0 2023-06-10 06:10:14,536 INFO mapreduce.Job: Counters: 9 Job Counters Failed map tasks=1 Killed map tasks=3 Launched map tasks=4 Data-local map tasks=4 Total time spent by all maps in occupied slots (ms)=20374 Total time spent by all reduces in occupied slots (ms)=0 Total time spent by all map tasks (ms)=20374 Total vcore-milliseconds taken by all map tasks=20374 Total megabyte-milliseconds taken by all map tasks=20862976 2023-06-10 06:10:14,561 WARN mapreduce.Counters: Group FileSystemCounters is deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead 2023-06-10 06:10:14,566 INFO mapreduce.ExportJobBase: Transferred 0 bytes in 19.7479 seconds (0 bytes/sec) 2023-06-10 06:10:14,582 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead 2023-06-10 06:10:14,582 INFO mapreduce.ExportJobBase: Exported 0 records. 2023-06-10 06:10:14,582 ERROR mapreduce.ExportJobBase: Export job failed! 2023-06-10 06:10:14,585 ERROR tool.ExportTool: Error during export: Export job failed! at org.apache.sqoop.mapreduce.ExportJobBase.runExport(ExportJobBase.java:445) at org.apache.sqoop.manager.SqlManager.exportTable(SqlManager.java:931) at org.apache.sqoop.tool.ExportTool.exportTable(ExportTool.java:80) at org.apache.sqoop.tool.ExportTool.run(ExportTool.java:99) at org.apache.sqoop.Sqoop.run(Sqoop.java:147) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243) at org.apache.sqoop.Sqoop.main(Sqoop.java:252)
时间: 2023-12-28 12:06:06 浏览: 250
MapReduceV1:Job提交流程之JobTracker端分析
这段日志是一个Sqoop工具导出数据时发生的错误信息。其中,导出作业“job_1686300831839_0056”失败,原因是其中一个任务“task_1686300831839_0056_m_000001”执行失败。在计数器方面,总共有9个计数器被记录,其中有1个map任务失败,3个map任务被杀死,4个map任务被启动,所有的map任务都在本地数据块上执行,总共的map任务耗时20秒,共消耗了20374个vcore毫秒和20862976个MB毫秒的资源。此外,还有两个计数器组被警告信息所提醒,分别是“FileSystemCounters”和“org.apache.hadoop.mapred.Task$Counter”,它们都已经被弃用,建议使用“org.apache.hadoop.mapreduce.FileSystemCounter”和“org.apache.hadoop.mapreduce.TaskCounter”代替。在导出数据时,共传输了0字节的数据,在19.75秒内完成,导出了0条记录。最后,导出作业失败,导致导出工具“ExportTool”抛出了异常。
阅读全文