Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions報錯

报错
报错详情:

WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
Error: org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. Permission denied: user=anonymous, access=EXECUTE, inode="/tmp/hadoop-yarn/staging/anonymous/.staging/job_1575623179132_0002":root:supergroup:drwx------

在这里插入图片描述
解决方法 (在conf的hive-env.sh中将最后一行的 * 号去掉)
在这里插入图片描述
最后显示 最后结果
在这里插入图片描述

发布了50 篇原创文章 · 获赞 30 · 访问量 7055

猜你喜欢

转载自blog.csdn.net/qq_44472134/article/details/104128112