Sunil Ganatra created AMBARI-26616:
--------------------------------------

             Summary: Refresh rack topology mappings during HDFS/YARN 
include-exclude updates
                 Key: AMBARI-26616
                 URL: https://issues.apache.org/jira/browse/AMBARI-26616
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 3.0.0
            Reporter: Sunil Ganatra


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 may require 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 requiring master 
service restarts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to