HDFS-10822. Log DataNodes in the write pipeline. John Zhuge via Lei Xu

This commit is contained in:
Lei Xu 2016-09-02 11:01:13 -07:00
parent 23abb09c1f
commit 5a8c5064d1

View File

@ -508,6 +508,12 @@ private void setPipeline(DatanodeInfo[] nodes, StorageType[] storageTypes,
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;