MapReduce作业比较大的 接入RSS 出现AppMaster内存不够用 #2496
Replies: 6 comments 8 replies
-
Can you get a memory dump? |
Beta Was this translation helpful? Give feedback.
-
目前用了14G,dump出来了5G左右 |
Beta Was this translation helpful? Give feedback.
-
@yanfangwang [CELEBORN-1314] add capacity-bounded inbox for rpc endpoint |
Beta Was this translation helpful? Give feedback.
-
问题收到,我找环境重现一下问题。感谢反馈。 |
Beta Was this translation helpful? Give feedback.
-
It's necessary to set the correct -Xmx for the application master. |
Beta Was this translation helpful? Give feedback.
-
set mapred.max.split.size=1073741824;
set yarn.app.mapreduce.am.resource.mb=8192;
set yarn.app.mapreduce.am.command-opts=-Djava.net.preferIPv4Stack=true -Xmx12288m;
set mapreduce.map.memory.mb=8192;
set mapreduce.map.java.opts=-Xmx6144m;
set mapreduce.reduce.memory.mb=8192;
set mapreduce.reduce.java.opts=-Xmx6144m;
add jar hdfs:///tmp/celeborn-client-mr-shaded_2.12-0.4.0-incubating.jar;
set mapreduce.job.reduce.slowstart.completedmaps=1;
set mapreduce.celeborn.master.endpoints=yj-rsscelebornmaster-01:9097,yj-rsscelebornmaster-02:9097,yj-rsscelebornmaster-03:9097;
set mapreduce.job.map.output.collector.class=org.apache.hadoop.mapred.CelebornMapOutputCollector;
set mapreduce.job.reduce.shuffle.consumer.plugin.class=org.apache.hadoop.mapreduce.task.reduce.CelebornShuffleConsumer;
set yarn.app.mapreduce.am.command-opts=org.apache.celeborn.mapreduce.v2.app.MRAppMasterWithCeleborn;
set yarn.app.mapreduce.am.job.recovery.enable=false;
set celeborn.rpc.lookupTimeout=6000s
相关的参数
Application application_1713940740527_488674 failed 4 times (global limit =6; local limit is =4) due to AM Container for appattempt_1713940740527_488674_000004 exited with exitCode: -104
Failing this attempt.Diagnostics: [2024-05-09 09:57:30.819]Container [pid=223169,containerID=container_e38_1713940740527_488674_04_000001] is running 7455248384B beyond the 'PHYSICAL' memory limit. Current usage: 14.9 GB of 8 GB physical memory used; 34.4 GB of 16.8 GB virtual memory used. Killing container.
Beta Was this translation helpful? Give feedback.
All reactions