You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by 幻 <yg...@gmail.com> on 2011/03/22 11:16:58 UTC

Error while reading from task log url ?

Hi,all.I meet a problem,here is the exception:

select a.mid from origin_performance a;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Starting Job = job_201103220234_0003, Tracking URL =
http://localhost:50030/jobdetails.jsp?jobid=job_201103220234_0003
Kill Command = /opt/hadoop-0.20.2/bin/../bin/hadoop job
-Dmapred.job.tracker=localhost:9001 -kill job_201103220234_0003
2011-03-22 03:02:10,364 Stage-1 map = 0%,  reduce = 0%
2011-03-22 03:02:52,594 Stage-1 map = 100%,  reduce = 100%
Ended Job = job_201103220234_0003 with errors
java.lang.RuntimeException: Error while reading from task log url
at org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getErrors(TaskLogProcessor.java:130)
at org.apache.hadoop.hive.ql.exec.ExecDriver.showJobFailDebugInfo(ExecDriver.java:931)
at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:716)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:107)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:633)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:506)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:384)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:138)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:197)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: java.io.FileNotFoundException:
http://ubuntu:50060/tasklog?taskid=attempt_201103220234_0003_m_000000_3&all=true
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1306)
at java.net.URL.openStream(URL.java:1011)
at org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getErrors(TaskLogProcessor.java:120)
... 15 more
Ended Job = job_201103220234_0003 with exception
'java.lang.RuntimeException(Error while reading from task log url)'
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.ExecDriver

I have check this folder(attempt_201103220234_0003_m_000000_3) in hadoop
userlogs. Both stdout and stderr are empty.And I have not seen any error in
this task logs.