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

YunFan Zhou commented on YARN-6981:
-----------------------------------

Thanks [~sunilg], we can reproduce the problem by following these steps:
* We could create a node label and name it *AAA*. We can see the resources 
corresponding to NM and *Total Resource* shown by the node label page.
!screenshot-1.png!
!screenshot-2.png!

* Create the *dynamic-resources.xml* file under the *etc/hadoop* directory and 
the contents of the file are as follows:
{code:java}
<configuration>
<property>
  <name>yarn.resource.dynamic.nodes</name>
  <value>bigdata-hdp-testser54.xg01.diditaxi.com:8041</value>
</property>
<property>
  
<name>yarn.resource.dynamic.bigdata-hdp-testser54.xg01.diditaxi.com:8041.memory</name>
  <value>51200</value>
</property>
<property>
  
<name>yarn.resource.dynamic.bigdata-hdp-testser54.xg01.diditaxi.com:8041.vcores</name>
  <value>50</value>
</property>
</configuration>
{code}
* Use *bin/yarn rmadmin -refreshNodesResources* command to update node 
resources in RM.
You would found that the command works, and the resources of the node displayed 
in *RM Node Page* are as follows:
!screenshot-3.png!
But the *Total Resource* of RM Node Label Page is not changed.


> The “Total Resource” displayed in RM node label page is inaccurate when 
> refresh node resources
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-6981
>                 URL: https://issues.apache.org/jira/browse/YARN-6981
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: YunFan Zhou
>         Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> The *Total Resource* displayed in RM node label page is inaccurate when 
> refresh node resources use "*bin/yarn rmadmin -refreshNodesResources*" 
> command. We should also update the resource of each *RMNodeLabel*.



--
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