[ https://issues.apache.org/jira/browse/YARN-7871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381681#comment-16381681 ]
Weiwei Yang commented on YARN-7871: ----------------------------------- V2 patch uploaded. Diff from v1 is 1. Added following API in {{NodeAttributesManager}} to replace node attributes by prefix, this API is used by resource tracker to update node attributes reported by NM to the manager {code} public abstract void replaceNodeAttributes(String hostName, String nodeAttributePrefix, Set<NodeAttribute> newNodeAttributes) throws IOException; {code} 2. Added the test case {{TestNodeAttributesManager#testReplaceNodeAttributes}} 3. Improved test case {{TestResourceTrackerService#testNodeHeartbeatWithNodeAttributes}} Hi [~sunilg], [~naganarasimha...@apache.org], please help to review. > Node attributes reporting from NM to RM > ---------------------------------------- > > Key: YARN-7871 > URL: https://issues.apache.org/jira/browse/YARN-7871 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Attachments: YARN-7871-YARN-3409.001.patch, > YARN-7871-YARN-3409.002.patch > > > Support to initialize proper attribute provider based on user's configuration. > NM collects node attributes from a configured attribute provider and send > them to RM via HB. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org