I assume you have to increase container size (if using tez/yarn) Missatge de Bitfox <bit...@bitfox.top> del dia dt., 29 de març 2022 a les 14:30:
> My hive run out of memory even for a small query: > > 2022-03-29T20:26:51,440 WARN [Thread-1329] mapred.LocalJobRunner: > job_local300585280_0011 > > java.lang.Exception: java.lang.OutOfMemoryError: Java heap space > > at > org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:492) > ~[hadoop-mapreduce-client-common-3.3.2.jar:?] > > at > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:552) > ~[hadoop-mapreduce-client-common-3.3.2.jar:?] > > Caused by: java.lang.OutOfMemoryError: Java heap space > > > > hadoop-3.3.2 > > hive-3.1.2 > > java version "1.8.0_321" > > > > How to fix this? thanks. > > > > -- ---------------------------------- Pau Tallada Crespí Departament de Serveis Port d'Informació Científica (PIC) Tel: +34 93 170 2729 ----------------------------------