1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| <property> <name>yarn.nodemanager.resource.memory-mb</name> <value>4096</value> </property>
<property> <name>yarn.scheduler.minimum-allocation-mb</name> <value>1024</value> </property> <property> <name>yarn.scheduler.maximum-allocation-mb</name> <value>3072</value> </property> <!--该配置用于配置任务请求时的资源. --> <property> <name>yarn.app.mapreduce.am.resource.mb</name> <value>2048</value> </property>
<property> <name>yarn.app.mapreduce.am.command-opts</name> <value>-Xmx3276m</value> </property> <property> <name>yarn.nodemanager.resource.cpu-vcores</name> <value>2</value> </property> <property> <name>yarn.scheduler.maximum-allocation-vcores</name> <value>3</value> </property>
|