Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2139 Fast copy for HDFS.
  3. HDFS-16757

Add a new method copyBlockCrossNamespace to DataNode

Add voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Add a new method copyBlockCrossNamespace in DataTransferProtocol at the DataNode Side.

      This method will copy a source block from one namespace to a target block from a different namespace. If the target DN is the same with the current DN, this method will copy the block via HardLink. If the target DN is different with the current DN, this method will copy the block via TransferBlock.

      This method will contains some parameters:

      • ExtendedBlock sourceBlock
      • Token<BlockTokenIdentifier> sourceBlockToken
      • ExtendedBlock targetBlock
      • Token<BlockTokenIdentifier> targetBlockToken
      • DatanodeInfo targetDN

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liuguanghua liuguanghua
            xuzq_zander ZanderXu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment