Hive加入查询无效

时间:2014-07-31 15:20:06

标签: hadoop hive cloudera hue cloudera-manager

我正在尝试在我的配置单元中运行连接查询,但它总是抛出错误。我累了很多。

除了连接查询剩余插入,选择,更新所有quires工作..这里是错误

我通过cloudera包hdfs,hue,mapreduce,hive等安装了hive

hive> select * from transactions a JOIN customers b on a.cust_id = b.cust_id;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapred.reduce.tasks=<number>
Starting Job = job_201407300522_0010, Tracking URL = http://ws.cc.com:50030/jobdetails.jsp?jobid=job_201407300522_0010
Kill Command = /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop/bin/hadoop job  -kill job_201407300522_0010
Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
2014-07-31 14:49:31,921 Stage-1 map = 100%,  reduce = 100%
Ended Job = job_201407300522_0010 with errors
Error during job, obtaining debugging information...
Job Tracking URL: http://ws.cc.com:50030/jobdetails.jsp?jobid=job_201407300522_0010
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask
MapReduce Jobs Launched: 
Job 0:  HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

0 个答案:

没有答案