在HIVE选择查询中,Mapper Reducer不会从零增加

时间:2016-11-10 04:43:45

标签: hadoop mapreduce hive

您好我的一个HIVE与HBase表集成了32百万条记录。 当我尝试做简单的选择查询时,它会给我以下读数。

INSERT OVERWRITE LOCAL DIRECTORY '/hadoop/user/Item.txt'
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\t'
STORED AS TEXTFILE
select * from hbase_table ;

Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 0
2016-11-09 10:48:11,767 Stage-1 map = 0%,  reduce = 0%
2016-11-09 10:49:12,206 Stage-1 map = 0%,  reduce = 0%, Cumulative CPU 51.67 sec
2016-11-09 10:50:12,536 Stage-1 map = 0%,  reduce = 0%, Cumulative CPU 101.52 sec
2016-11-09 10:51:12,861 Stage-1 map = 0%,  reduce = 0%, Cumulative CPU 124.31 sec
2016-11-09 10:52:13,172 Stage-1 map = 0%,  reduce = 0%, Cumulative CPU 144.26 sec
2016-11-09 10:53:13,472 Stage-1 map = 0%,  reduce = 0%, Cumulative CPU 163.76 sec

1 个答案:

答案 0 :(得分:0)

reduce百分比将为零,因为映射器的输出将直接写入本地路径。

检查纱线网页UI以获取资源可用性。 在hive提示符set mapreduce.job.maps = x;中 然后运行命令