You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "hfutatzhanghb (via GitHub)" <gi...@apache.org> on 2024/04/29 12:51:16 UTC

Re: [PR] HDFS-16368. DFSadmin supports refresh topology info without restarting namenode [hadoop]

hfutatzhanghb commented on code in PR #3743:
URL: https://github.com/apache/hadoop/pull/3743#discussion_r1583039222


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java:
##########
@@ -1281,6 +1282,57 @@ nodes with its data cleared (or user can just remove the StorageID
     }
   }
 
+  /**
+   * refresh the network topology of this cluster based on the mapping_topology.data file.
+   */
+  public void refreshTopology() throws IOException {
+    long start = System.currentTimeMillis();

Review Comment:
   Sir, have fixed.



-- 
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: common-issues-unsubscribe@hadoop.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org