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

Introduce BlockInfoUnderConstruction to reflect block replica states while writing.

    XMLWordPrintableJSON

    Details

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

      Description

      Currently when a block is created its locations are stored in INodeFileUnderConstruction.targets, which correspond to the last allocated block. With the new append design we will need to keep track of block replicas for several blocks rather than just the last one.

        Attachments

        1. Append-UCBlock.patch
          47 kB
          Konstantin Shvachko
        2. Append-UCBlock.patch
          25 kB
          Konstantin Shvachko
        3. Append-UCBlock.patch
          25 kB
          Konstantin Shvachko
        4. Append-UCBlock-h265.patch
          48 kB
          Konstantin Shvachko
        5. Append-UCBlock-h265.patch
          48 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: