I’ve had the same issue with hadoop 0.20.1 and one of the latest hive versions.

HIVE fails to run mapreduce jobs due to “/” in /default_rack topology



Fixed by applying patch from https://issues.apache.org/jira/browse/HADOOP-5759 
and rebuilding hadoop


From: Gang Luo [mailto:[email protected]]
Sent: Friday, October 23, 2009 12:00 AM
To: [email protected]; [email protected]
Subject: hive problem

Hi everyone,
I am new to Hive. Here is a problem.

I followed the getting started instructions to setup my hive (as well as 
hadoop). I can create tables, show tables and select without any where clause. 
But once I do something that need to execute mapreduce jobs, it failed. A 
sample operation and the error is listed below:

hive> select a.id from age a where id=1;
Total MapReduce jobs = 1
Number of reduce tasks is set to 0 since there's no reduce operator
Starting Job = job_200910221333_0009, Tracking URL = 
http://localhost:50030/jobdetails.jsp?jobid=job_200910221333_0009
Kill Command = /home/lgpublic/bin/hadoop/hadoop-0.20.1/bin/.../bin/hadoop job  
-Dmapred.job.tracker=localhost:9001 -kill job_200910221333_0009
2009-10-22 04:19:50,787 map = 100%,  reduce = 100%
Ended Job = job_200910221333_0009 with errors
FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.ExecDriver

I try the example in hive user guide (the u_data), it also failed. When I try 
to run a mapreduce jobs directly on hadoop, it works well. Could anyone give me 
some hints on this problem? Thanks.

Gang Luo
---------
Department of Computer Science
Duke University
(919)316-0993
[email protected]

<http://sites.google.com/site/gangluoinformation/>


__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Reply via email to