maxCombinedSplitSize property in hive?

484 Views Asked by At

There is a property in pig named

'pig.maxCombinedSplitSize' – Specifies the size, in bytes, of data to be processed by a single map. Smaller files are combined until this size is reached.

Is there a similar property in hive for specifying the size of data to be processed by a single map?

I am trying the below command but it doesn't work.

'SET hive.maxCombinedSplitSize=64mb';

Any suggestions?

1

There are 1 best solutions below

0
On

Try this:

set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;
set mapred.min.split.size=67108864;