hive啓用本地模式

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模式。 數據

相關文章
相關標籤/搜索