Hive 避免小文件
作者:互联网
set mapred.max.split.size=256000000;
set mapred.min.split.size.per.node=100000000;set mapred.min.split.size.per.rack=100000000;
set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;
set hive.merge.mapfiles = true;
set hive.merge.mapredfiles = true ;
set hive.merge.size.per.task = 256000000;
set hive.merge.smallfiles.avgsize=16000000 ; TRANSLATE with x English TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back
标签:文件,set,location,hive,merge,避免,Hive,true,size 来源: https://www.cnblogs.com/ywjfx/p/16206529.html