hive启用本地模式,主要用于处理数据量比较少的状况。 spa
hive.exec.mode.local.auto=true ci
hive.exec.mode.local.auto.inputbytes.max=50000000 input
hive.exec.mode.local.auto.tasks.max=10 file
hive.exec.mode.local.auto.input.files.max=50 map
hive.exec.mode.local.auto.tasks.max和hive.exec.mode.local.auto.inputbytes.max,默认值分别为4和128MB,即默认状况下,map处理的文件数不超过4个而且总大小小于128MB就启用local mr模式。 数据