mapreduce.Job ,执行一个mapreduce.Job的任务有错误信息,文件大概1.5G

ios应用猫 发布于 2016/03/14 11:44
阅读 800
收藏 0
0 INFO  [LocalJobRunner Map Task Executor #0] mapred.MapTask (MapTask.java:flush(1458)) - kvstart = 26214396(104857584); kvend = 26211400(104845600); length = 2997/6553600
2016-03-14 11:41:25,596 INFO  [LocalJobRunner Map Task Executor #0] mapred.MapTask (MapTask.java:sortAndSpill(1641)) - Finished spill 0
2016-03-14 11:41:25,604 INFO  [Thread-12] mapred.LocalJobRunner (LocalJobRunner.java:runTasks(456)) - map task executor complete.
2016-03-14 11:41:25,617 WARN  [Thread-12] mapred.LocalJobRunner (LocalJobRunner.java:run(560)) - job_local890483568_0001
java.lang.Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -335
at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -335
at java.lang.String.substring(String.java:1967)
at cn.test.hadoop.mr.wc.house.WCMapper.map(WCMapper.java:39)
at cn.test.hadoop.mr.wc.house.WCMapper.map(WCMapper.java:1)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:243)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-03-14 11:41:25,734 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1375)) - Job job_local890483568_0001 failed with state FAILED due to: NA
2016-03-14 11:41:25,798 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1380)) - Counters: 26
File System Counters
加载中
0
沧海_Sea
沧海_Sea
java.lang.Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -335     这种错。。。
沧海_Sea
沧海_Sea
回复 @Rest721 : 不知道 这点信息 根本不可能查出来什么东西的
ios应用猫
ios应用猫
怎么会导致文件输出不了呢?
返回顶部
顶部