diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java index bdd20c4c32f..67581e9bc23 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java @@ -484,6 +484,12 @@ class DataStreamer extends Daemon { private void initDataStreaming() { this.setName("DataStreamer for file " + src + " block " + block); + if (LOG.isDebugEnabled()) { + LOG.debug("nodes {} storageTypes {} storageIDs {}", + Arrays.toString(nodes), + Arrays.toString(storageTypes), + Arrays.toString(storageIDs)); + } response = new ResponseProcessor(nodes); response.start(); stage = BlockConstructionStage.DATA_STREAMING;