From 50370769cd56f37d3bf7698d65e9044c264e7d06 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 27 Mar 2024 06:59:15 +0800 Subject: [PATCH] HDFS-17429. Fixing wrong log file name in datatransfer Sender.java (#6670) Contributed by Zhongkun Wu. Reviewed-by: Ayush Saxena Signed-off-by: Shilun Fan --- .../org/apache/hadoop/hdfs/protocol/datatransfer/Sender.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Sender.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Sender.java index 3d81a62993..86c6513745 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Sender.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Sender.java @@ -57,11 +57,16 @@ import org.apache.hadoop.tracing.TraceUtils; import org.apache.hadoop.thirdparty.protobuf.Message; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + /** Sender */ @InterfaceAudience.Private @InterfaceStability.Evolving public class Sender implements DataTransferProtocol { + private static final Logger LOG = LoggerFactory.getLogger(Sender.class); + private final DataOutputStream out; /** Create a sender for DataTransferProtocol with a output stream. */