Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Error while reading from task log url


Copy link to this message
-
Error while reading from task log url
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
org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getErrors(TaskLogProcessor.java:130)
at
org.apache.hadoop.hive.ql.exec.JobDebugger.showJobFailDebugInfo(JobDebugger.java:211)
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:
http://localhost:50060/tasklog?taskid=attempt_201203231956_0010_m_000000_3&start=-8193
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
at java.net.URL.openStream(URL.java:1010)
at
org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getErrors(TaskLogProcessor.java:120)
... 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB