黑马程序员技术交流社区
标题:
这里有一个Hive问题需要请教?
[打印本页]
作者:
lxmdmx
时间:
2019-3-6 17:02
标题:
这里有一个Hive问题需要请教?
运行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; 是可以正确运行的。请问如何解决
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/)
黑马程序员IT技术论坛 X3.2