减少任务的数量设置为0,因为没有减少运算符
正在运行的作业(本地Hadoop)
2017-03-23 12:19:17771 Stage-1 map = 0%,reduce = 0%
Ended Job = job_local1571094051_0001有错误 在作业期间出错,获取调试信息...... FAILED:执行错误,从org.apache.hadoop.hive.ql.exec.mr.MapRedTask返回代码2 MapReduce Jobs推出:
Stage-Stage-1:HDFS读取:16384 HDFS写入:10596 FAIL
答案 0 :(得分:-1)
在插入之前设置下面的属性。
SET hive.exec.dynamic.partition = true;
SET hive.exec.dynamic.partition.mode = nonstrict;
SET hive.exec.max.dynamic.partitions = 10000;
SET hive.exec.max.dynamic.partitions.pernode = 1000;