set hive.stats.column.autogather=false;
set hive.exec.mode.local.auto=true;
hive-site-xml
<property>
<name>hive.exec.mode.local.auto</name>
<value>true</value>
</property>
<property>
<name>hive.exec.mode.local.auto.inputbytes.max</name>
<value>134217728</value>
</property>
<property>
<name>hive.exec.mode.local.auto.input.files.max</name>
<value>4</value>
</property>