HDFS-12215. DataNode.transferBlock does not create its daemon in the xceiver thread group. (Lei Xu)
This commit is contained in:
parent
f29a0fc288
commit
36bada3032
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue