Which version of hive and hadoop are you using ?
On 10/22/09 3:00 PM, "Gang Luo" <[email protected]> wrote: 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://sites.google.com/site/gangluoinformation/> __________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com
