Fail to Increase Hive Mapper Tasks?

后端 未结 2 1604
臣服心动
臣服心动 2021-01-16 06:38

I have a managed Hive table, which contains only one 150MB file. I then do \"select count(*) from tbl\" to it, and it uses 2 mappers. I want to set it to a bigger number.

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-16 06:57

    Try adding the following:

    set hive.merge.mapfiles=false;
    set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
    

提交回复
热议问题