Increase number of Hive mappers in Hadoop 2

后端 未结 3 745
北荒
北荒 2021-02-02 02:56

I created a HBase table from Hive and I\'m trying to do a simple aggregation on it. This is my Hive query:

from my_hbase_table 
select col1, count(1) 
group by c         


        
3条回答
  •  隐瞒了意图╮
    2021-02-02 03:23

    Reduce the input split size from the default value. The mappers will get increased.

    SET mapreduce.input.fileinputformat.split.maxsize;

提交回复
热议问题