-Re: Error while reading from task log url
Stephen Boesch 2012-03-29, 17:17
Thanks a lot Philip, when i did that substitution I can see the log. and
now the root cause is obvious (and v fixable !)
Root cause of the problem:
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException:
org.apache.hadoop.hive.serde2.SerDeException: HBase row key cannot be
2012/3/29 Philip Tromans <[EMAIL PROTECTED]>
> You are running into: https://issues.apache.org/jira/browse/HIVE-1579
> I've been meaning to submit a patch for this. I emailed the dev list
> concerning a patch for it but got no reply...
> Hive is crashing because it can't pull the debug logs for the failed
> task, because it's trying to pull them from the url. If you change
> taskid to attemptid in the url then you'll get the error logs you need
> to debug the root cause.
> I'll try and submit a patch at some point.
> On 29 March 2012 17:36, Stephen Boesch <[EMAIL PROTECTED]> wrote:
> > When I go to that url here is the result:
> > HTTP ERROR 400
> > Problem accessing /tasklog. Reason:
> > Argument attemptid is required
> > ________________________________
> > Powered by Jetty://
> > 2012/3/29 Stephen Boesch <[EMAIL PROTECTED]>
> >> Hi
> >> I am able to run certain hive commands e.g. create table and select..
> >> but not others .. Also my hadoop pseudo disributed cluster is working
> >> fine - i can run the examples.
> >> Examples of commands that fail:
> >> insert overwrite table demographics select * from demographics_local;
> >> Control-C (killing a task ends up with the same error with the "Error
> >> while reading from task log url"
> >> Hadoop job information for Stage-0: number of mappers: 1; number of
> >> reducers: 0
> >> 2012-03-29 08:05:40,699 Stage-0 map = 0%, reduce = 0%
> >> 2012-03-29 08:06:10,868 Stage-0 map = 100%, reduce = 100%
> >> Ended Job = job_201203231956_0010 with errors
> >> Error during job, obtaining debugging information...
> >> Examining task ID: task_201203231956_0010_m_000002 (and more) from job
> >> job_201203231956_0010
> >> Exception in thread "Thread-160" java.lang.RuntimeException: Error while
> >> reading from task log url
> >> at
> >> at
> >> at org.apache.hadoop.hive.ql.exec.JobDebugger.run(JobDebugger.java:81)
> >> at java.lang.Thread.run(Thread.java:662)
> >> Caused by: java.io.IOException: Server returned HTTP response code: 400
> >> for URL:
> >> at
> >> at java.net.URL.openStream(URL.java:1010)
> >> at
> >> ... 3 more
> >> FAILED: Execution Error, return code 2 from
> >> org.apache.hadoop.hive.ql.exec.MapRedTask
> >> I am running hive-0.8.1 aagainst hadoop-1.0.0