Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1461

Refactor hdfs.server.datanode.BlockSender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • datanode
    • 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.

      Attachments

        1. HDFS-1461.patch
          10 kB
          Ramkumar Vadali

        Activity

          People

            rvadali Ramkumar Vadali
            rvadali Ramkumar Vadali
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: