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
1 changed files with 6 additions and 0 deletions

View File

@ -508,6 +508,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;