HDFS-12215. DataNode.transferBlock does not create its daemon in the xceiver thread group. (Lei Xu)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
This commit is contained in:
Lei Xu 2017-08-25 16:01:14 -07:00
parent 1617744801
commit c22b5108df
1 changed files with 2 additions and 1 deletions

View File

@ -2919,7 +2919,8 @@ public class DataNode extends ReconfigurableBase
b.setNumBytes(visible);
if (targets.length > 0) {
new DataTransfer(targets, targetStorageTypes, b, stage, client).run();
new Daemon(new DataTransfer(targets, targetStorageTypes,
b, stage, client)).start();
}
}