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

(cherry picked from commit 5a8c5064d1)
This commit is contained in:
Lei Xu 2016-09-02 11:01:13 -07:00
parent 28ea4122f0
commit d6bfb2176c
1 changed files with 6 additions and 0 deletions

View File

@ -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;