Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
BlockSender provides the functionality to send a block to a data node. But the current implementation requires the source of the block to be a data node. The RAID contrib project needs the functionality of sending a block to a data node, but cannot use hdfs.server.datanode.BlockSender because the constructor requires a datanode object.
MAPREDUCE-2132 provides the motivation for this.
The purpose of this jira is to refactor hdfs.server.datanode.BlockSender to have another constructor that does not need a DataNode object.