3.Apache Hive 查询报错 FAILED: org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask

版本

CDH 6.2.0
Hive 2.1.1-cdh6.2.0

一、问题

执行查询视图的sql报错:FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask

视图由多个表join生成。
sql如下

select * from view_test limit 10;

日志:

Task failed!
Task ID:
  Stage-11

Logs:

/tmp/hdfs/hive.log
FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
MapReduce Jobs Launched: 
Stage-Stage-2: Map: 5  Reduce: 6   Cumulative CPU: 167.37 sec   HDFS Read: 367721084 HDFS Write: 390996703 HDFS EC Read: 0 SUCCESS
Total MapReduce CPU Time Spent: 2 minutes 47 seconds 370 msec

/tmp/hdfs/hive.log

你可能感兴趣的:(大数据,#,Apache,Hive,hive,大数据)