You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/03/01 08:38:00 UTC
[jira] [Commented] (YARN-7871) Node attributes reporting from NM to
RM
[ 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_gr@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org