[ 
https://issues.apache.org/jira/browse/YARN-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cyrus Jackson updated YARN-10862:
---------------------------------
    Description: 
Proto changes for NodeHealthDetails. 

In order to make it generic resources information from NodeManager to 
ResourceManager, a map data structure is used. This way multiple resource 
values can be sent

i.e 
{code:java}
message IntLongMapProto {
 required int32 key = 1;
 required int64 value = 2;
}{code}

Here Int32 as key will be used in order to avoid sending Strings as it becomes 
difficult to parse on ResoureManager standpoint. 

  was:Proto changes for NodeHealthDetails. 


> Add new proto changes required for NodeHealthDetails in NodeHealthStatus
> ------------------------------------------------------------------------
>
>                 Key: YARN-10862
>                 URL: https://issues.apache.org/jira/browse/YARN-10862
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Cyrus Jackson
>            Assignee: Cyrus Jackson
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Proto changes for NodeHealthDetails. 
> In order to make it generic resources information from NodeManager to 
> ResourceManager, a map data structure is used. This way multiple resource 
> values can be sent
> i.e 
> {code:java}
> message IntLongMapProto {
>  required int32 key = 1;
>  required int64 value = 2;
> }{code}
> Here Int32 as key will be used in order to avoid sending Strings as it 
> becomes difficult to parse on ResoureManager standpoint. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to