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

This commit is contained in:
Lei Xu 2017-08-25 16:01:14 -07:00
parent f29a0fc288
commit 36bada3032
1 changed files with 2 additions and 2 deletions

View File

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