[ https://issues.apache.org/jira/browse/YARN-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14803112#comment-14803112 ]
Junping Du commented on YARN-4160: ---------------------------------- The proposed new configuration is as following: {noformat} <Configuration> <NodeResource> <NodeId> node_1, node_2, node_3</NodeId> <vcore> 1 </vcore> <memory> 1024 </memory> </NodeResource> <NodeResource> <NodeId> node_4, node_5</NodeId> <vcore> 2 </vcore> <memory> 2048 </memory> </NodeResource> </Configuration> {noformat} Any comments? btw, NodeID can be Host:Port or Host only for user's convenient. > Dynamic NM Resources Configuration file should be simplified. > ------------------------------------------------------------- > > Key: YARN-4160 > URL: https://issues.apache.org/jira/browse/YARN-4160 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager, scheduler > Reporter: Junping Du > Assignee: Junping Du > > In YARN-313, we provide CLI to refresh NMs' resources dynamically. The format > of dynamic-resources.xml is something like following: > {noformat} > <configuration> > <property> > <name>yarn.resource.dynamic.node_id_1.vcores</name> > <value>16</value> > </property> > <property> > <name>yarn.resource.dynamic.node_id_1.memory</name> > <value>1024</value> > </property> > </configuration> > {noformat} > This looks too redundant from review comments of YARN-313. We should have a > better, concisely format. -- This message was sent by Atlassian JIRA (v6.3.4#6332)