[ https://issues.apache.org/jira/browse/YARN-8092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420262#comment-16420262 ]
Weiwei Yang edited comment on YARN-8092 at 3/30/18 7:46 AM: ------------------------------------------------------------ Tested one a single node cluster. Built from source, setup the cluster, set following configuration: {noformat} <property> <name>yarn.nodemanager.node-attributes.provider</name> <value>config</value> </property> <property> <name>yarn.nodemanager.node-attributes.provider.fetch-interval-ms</name> <value>1000</value> </property> <property> <name>yarn.nodemanager.node-attributes.provider.configured-node-attributes</name> <value>host,STRING,hdpdevm1:os,STRING,RHEL_7_2</value> </property> {noformat} access via http://<RM:PORT>/ws/v1/cluster/nodes, result: !node_attributes_via_config.png! was (Author: cheersyang): Tested on a single node cluster, built from source, setup single node cluster, set following configuration: {noformat} <property> <name>yarn.nodemanager.node-attributes.provider</name> <value>config</value> </property> <property> <name>yarn.nodemanager.node-attributes.provider.fetch-interval-ms</name> <value>1000</value> </property> <property> <name>yarn.nodemanager.node-attributes.provider.configured-node-attributes</name> <value>host,STRING,hdpdevm1:os,STRING,RHEL_7_2</value> </property> {noformat} access via http://<RM:PORT>/ws/v1/cluster/nodes, result: !node_attributes_via_config.png! > Expose node-attributes info via RM nodes REST API > ------------------------------------------------- > > Key: YARN-8092 > URL: https://issues.apache.org/jira/browse/YARN-8092 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Attachments: YARN-8092-YARN-3409.001.patch, > node_attributes_via_config.png > > > Query node-attributes info via nodes REST API via RM. -- 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