在hive on spark引擎中 执行带有集合的sql时出现此报错
[42000][3] Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.spark.SparkTask. Spark job failed during runtime. Please check stacktrace for the root cause.
解决方法一:切换引擎使用mr
set hive.execution.engine=mr;
解决方法二:
set mapred.map.tasks.speculative.execution=true
set mapred.reduce.tasks.speculative.execution=true