From 2c37bebac447c61b3d2c2bb492ee7e6243b5ce37 Mon Sep 17 00:00:00 2001 From: litao Date: Fri, 22 Oct 2021 10:51:30 +0800 Subject: [PATCH] HDFS-16280. Fix typo for ShortCircuitReplica#isStale (#3568). Contributed by tomscut. Reviewed-by: Hui Fei Signed-off-by: Ayush Saxena --- .../apache/hadoop/hdfs/shortcircuit/ShortCircuitReplica.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitReplica.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitReplica.java index fd58ef1875..23f1830c3f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitReplica.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitReplica.java @@ -160,7 +160,7 @@ boolean isStale() { long deltaMs = Time.monotonicNow() - creationTimeMs; long staleThresholdMs = cache.getStaleThresholdMs(); if (deltaMs > staleThresholdMs) { - LOG.trace("{} is stale because it's {} ms old and staleThreadholdMS={}", + LOG.trace("{} is stale because it's {} ms old and staleThresholdMs={}", this, deltaMs, staleThresholdMs); return true; } else {