A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

© lxmdmx 高级黑马   /  2019-3-6 17:02  /  1222 人查看  /  0 人回复  /   0 人收藏 转载请遵从CC协议 禁止商业使用本文

运行hive> select count(*) from ngram;  后出现下面的错误

Starting Job = job_1551889538735_0004, Tracking URL = http://hadoop01:8088/proxy/application_1551889538735_0004/
Kill Command = /home/opt/tar/hadoop/bin/hadoop job  -kill job_1551889538735_0004
Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
2019-03-07 00:48:50,924 Stage-1 map = 0%,  reduce = 0%
Ended Job = job_1551889538735_0004 with errors
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

但是select * form ngram;  是可以正确运行的。请问如何解决

0 个回复

您需要登录后才可以回帖 登录 | 加入黑马