0
点赞
收藏
分享

微信扫一扫

错误解决:hive报错Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask


临时生效:

# 开启本地模式,并执行查询语句
set hive.exec.mode.local.auto=true;

永久生效:

<property>
<name>hive.exec.mode.local.auto</name>
<value>true</value>
</property>

参考文章:

  • ​​hive本地模式执行hive,减少sql处理结果用的时间​​
  • ​​设置yarn-site.xml配置​​


举报

相关推荐

0 条评论