You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "goyalanurag (via GitHub)" <gi...@apache.org> on 2026/06/10 18:01:04 UTC

[PR] [AMBARI-26616] Refresh rack topology mappings upon DataNode or NodeManager install [ambari]

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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


Re: [PR] [AMBARI-26616] Refresh rack topology mappings upon DataNode or NodeManager install [ambari]

Posted by "brahmareddybattula (via GitHub)" <gi...@apache.org>.
brahmareddybattula commented on PR #4139:
URL: https://github.com/apache/ambari/pull/4139#issuecomment-4699329897

   @goyalanurag  thanks for reporting on this, approach looks good to me.. could you please add the UT for this and attach manual test snippets.?


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


Re: [PR] [AMBARI-26616] Refresh rack topology mappings upon DataNode or NodeManager install [ambari]

Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC merged PR #4139:
URL: https://github.com/apache/ambari/pull/4139


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


Re: [PR] [AMBARI-26616] Refresh rack topology mappings upon DataNode or NodeManager install [ambari]

Posted by "goyalanurag (via GitHub)" <gi...@apache.org>.
goyalanurag commented on PR #4139:
URL: https://github.com/apache/ambari/pull/4139#issuecomment-4702008553

   I have update the description with some screenshots.


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org