Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-265 Revisit append
  3. HDFS-565

Introduce block committing logic during new block allocation and file close.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Append Branch
    • Fix Version/s: Append Branch
    • Component/s: hdfs-client, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      ClientProtocol methods addBlock() and complete() need to include additional parameter - a block, which has been successfully written to data-nodes. By sending this block to the name-node the client confirms the generation stamp of the block and its length. The block on the name-node changes its state to committed and will become complete as long as one of the finalized replicas reported by data-nodes.

        Attachments

        1. HDFS-565.aj.patch
          0.7 kB
          Konstantin I Boudnik
        2. CommitBlock.patch
          23 kB
          Konstantin Shvachko
        3. CommitBlock.patch
          23 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

              • Assignee:
                shv Konstantin Shvachko
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: