hive可以进行如select * from t;简单查询;

一旦进行如select count(*) from t;就报错Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask;

查看日志如下:

2018-06-05 03:06:08,935 ERROR [main]: exec.Task (SessionState.java:printError(960)) - Ended Job = job_1528139042502_0001 with errors

2018-06-05 03:06:08,950 ERROR [Thread-28]: exec.Task (SessionState.java:printError(960)) - Error during job, obtaining debugging information...

在网上查找了n多解决方法,依然没有解决。hive报FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

问题已经解决,一般是hadoop的安装出了问题,按照我的博文“

hadoop-2.x安装一套完整教程,亲自测试可行”来安装的hadoop是没有问题的。

相关文章:

  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2021-09-03
  • 2021-12-09
  • 2021-08-17
猜你喜欢
  • 2022-01-08
  • 2021-09-12
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2022-02-08
相关资源
相似解决方案