[ 
https://issues.apache.org/jira/browse/YARN-7119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181171#comment-16181171
 ] 

Manikandan R commented on YARN-7119:
------------------------------------

As of now, updateNodeResource accepts below params: 

NodeID MemSize vCores

When yarn.resourcemanager.resource-profiles.enabled has been set to true, 
updateNodeResource can expect params in this order: 

NodeID ResourceTypes

Resource types info should be available in comma separated value (when more 
than 
1 resource types) and each value has key value pairs separated using "'=" 
symbol.

For example, 

NodeID memory-mb=1024Mi,vcores=1,resource1=3Gi,resource2=2

CSV resource types can be parsed further and passed to the remaining flow.

Thoughts?

> yarn rmadmin -updateNodeResource should be updated for resource types
> ---------------------------------------------------------------------
>
>                 Key: YARN-7119
>                 URL: https://issues.apache.org/jira/browse/YARN-7119
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>    Affects Versions: YARN-3926
>            Reporter: Daniel Templeton
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to