if i want to add "kylin.engine.mr.config-override"  in the front of them.
MY config below as: 
kylin_job_conf.xml
&nbsp;<property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.map.java.opts.max.heap</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp;<value&gt;204800</value&gt;
&nbsp; &nbsp; </property&gt;
&nbsp; &nbsp; <property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; 
<name&gt;mapreduce.reduce.java.opts.max.heap</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;204800</value&gt;
&nbsp; &nbsp; </property&gt;
&nbsp;<property&gt;

&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.map.java.opts</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;-Xmx8000m -XX:OnOutOfMemoryError='kill -9 
%p'</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;
&nbsp; &nbsp; </property&gt;
&nbsp; &nbsp; <property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.reduce.java.opts</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;-Xmx8000m -XX:OnOutOfMemoryError='kill -9 
%p'</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;
&nbsp; &nbsp; </property&gt;
&nbsp; &nbsp; <property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapred.child.java.opt</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;-Xmx8000m -XX:OnOutOfMemoryError='kill -9 
%p'</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;



kylin_job_conf_inmem.xml
<property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.map.memory.mb</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;8192</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;
&nbsp; &nbsp; </property&gt;


&nbsp; &nbsp; <property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.map.java.opts</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;-Xmx12g -XX:OnOutOfMemoryError='kill -9 
%p'</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;
&nbsp; &nbsp; </property&gt;


&nbsp; &nbsp; <property&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <name&gt;mapreduce.task.io.sort.mb</name&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <value&gt;20</value&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <description&gt;</description&gt;
&nbsp; &nbsp; </property&gt;





------------------&nbsp;????????&nbsp;------------------
??????:&nbsp;"Xiaoxiang Yu"<[email protected]&gt;;
????????:&nbsp;2020??5??6??(??????) ????7:57
??????:&nbsp;"user"<[email protected]&gt;;"????????"<[email protected]&gt;;

????:&nbsp;Re:erros on building  cube  in kylin



 Hi,
&nbsp; &nbsp; Have you ever check this doc : 
http://kylin.apache.org/docs/install/configuration.html#mr-config-override&nbsp;and
 increase the heap of Mapper or Reducer?







--
Best wishes to you ! 
From ??Xiaoxiang Yu







At 2020-05-06 19:45:43, "????????" <[email protected]&gt; wrote:
Hello:
&nbsp; &nbsp; &nbsp;I have a table and it has three columns,it has 5736604 
rows,the three columns distinct value counts is 1843696      5736485 1742356.I 
build cube and got a error on 3rd step,it said:"Error: Java heap space",the 
step name is "&nbsp;Extract Fact Table Distinct Columns".
Can you help me? thanks!

Reply via email to