gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 21:10:02 25 4
gpt4 key购买 nike

嗨,我在与HBase表集成的HIVE中有3200万条记录。
当我尝试执行简单的选择查询时,下面提供给我。

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

最佳答案

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

检查yarn web UI的资源可用性。
在配置单元提示符set mapreduce.job.maps = x;
然后运行上面的命令

关于hadoop - 在HIVE选择查询中,Mapper Reducer不会从零增加,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40520103/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com