hadoop - HIVE:执行错误,从 org.apache.hadoop.hive.ql.exec.mr.MapRedTask 返回代码 2
问题描述
我在我的系统中设置了 HIVE。当我运行如下正常查询时,查询执行良好。
select * from employee;
select * from employee where age=29
但是当我使用 distinct 关键字运行时,出现以下错误。
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
除了普通查询之外,大多数 HiveQL 语句都因相同的错误而失败(例如:insert into table employee1 select * from employee limit 5)我能知道,如何在这里找出根本原因和可能的解决方案。
解决方案
推荐阅读
- objective-c - 当数组包含超过 3000 个元素时,为什么我的函数只在 SQLite 中插入 240 个条目?
- mysql - 在sql中获取重复记录后如何比较列?
- python - string.punctuation 中的 C 语言环境
- javascript - 如何根据单击的按钮更改按钮文本?
- python - 如何通过 ssh 连接运行本地 conda 环境?
- excel - 如何搜索文本中的字符列表
- c++ - C++ 中的 ARM Cortex-M 中断处理程序
- c - 我可以在 ANSI C 中以某种方式使用嵌套函数吗?
- python - 如何修复 beam.smp 内存使用情况?
- javascript - 未找到本机消息传递主机的清单