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. */