内存不够:
set mapreduce.map.memory.mb=4096;
set mapreduce.map.java.opts=-Xmx3280m;
set mapreduce.reduce.memory.mb=4096;
set mapreduce.reduce.java.opts=-Xmx3280m;
或者设置每一个任务的最大数据处理量:
set hive.exec.reducers.bytes.per.reducer=500000000;
或者设置任务数目:
set mapred.reduce.tasks = 15;
set mapred.map.tasks = 15;