hive -- return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

异常:

 Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask (state=08S01,code=2)

查看日志信息:

原因,没有开启Metastore,

解决方法:开启Metastore,重启yarn

还有一种原因:

各个节点间时间不同步!!!

建议先date查看各个节点的时间再去看看!!!!

发布了80 篇原创文章 · 获赞 168 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/weixin_44036154/article/details/103156981