goyalanurag opened a new pull request, #4139:
URL: https://github.com/apache/ambari/pull/4139

   ## What changes were proposed in this pull request?
   
   When adding DataNode or NodeManager hosts, Ambari refreshes include/exclude 
files on NameNode and ResourceManager hosts, but the rack topology mapping file 
can remain stale because topology regeneration only runs on hosts where worker 
components are started. This requires restarting NameNode or ResourceManager 
before new hosts appear with the correct rack information.
   
   Update the HDFS and YARN refresh/decommission workflows to regenerate 
`topology_mappings.data` during the existing `Update Include/Exclude Files` 
action, so `hdfs dfsadmin -printTopology`, `hdfs dfsadmin -report`, and `yarn 
node -status` reflect newly added hosts without restarting master components.
   
   ## How was this patch tested?
   Tested manually multiple times by adding DataNodes and NodeManagers to 
Hadoop cluster.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to