Skip to content

Commit b871805

Browse files
authored
HDFS-17209. Correct comments to align with the code (#6110). Contributed by Yu Wang.
Reviewed-by: Inigo Goiri <inigoiri@apache.org> Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
1 parent b8815fe commit b871805

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,7 @@ public void shutdown() {
25692569
if (this.threadGroup != null) {
25702570
int sleepMs = 2;
25712571
while (true) {
2572-
// When shutting down for restart, wait 2.5 seconds before forcing
2572+
// When shutting down for restart, wait 1 second before forcing
25732573
// termination of receiver threads.
25742574
if (!this.shutdownForUpgrade ||
25752575
(this.shutdownForUpgrade && (Time.monotonicNow() - timeNotified

0 commit comments

Comments
 (0)