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 @@ void transferReplicaForPipelineRecovery(final ExtendedBlock b,
b.setNumBytes(visible);
if (targets.length > 0) {
new DataTransfer(targets, targetStorageTypes, targetStorageIds, b, stage,
client).run();
new Daemon(new DataTransfer(targets, targetStorageTypes,
targetStorageIds, b, stage, client)).start();
}
}