解决:
this is due to the memory required by orc writer while writing orc files, you can limit the memory use by tweaking the value of orc.compress.size which is of 256KB by default.I am not sure about your heap size, start testing with 8KB of buffer using
alter table table_name set tblproperties("orc.compress.size"="8192")
and see if it helps.